diff --git a/src/AngularComponents/package-lock.json b/src/AngularComponents/package-lock.json index 9116c3aa..aadf1af6 100644 --- a/src/AngularComponents/package-lock.json +++ b/src/AngularComponents/package-lock.json @@ -9,22 +9,22 @@ "version": "0.0.0", "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.6", - "@angular/common": "^18.2.6", - "@angular/compiler": "^18.2.6", - "@angular/core": "^18.2.6", - "@angular/forms": "^18.2.6", - "@angular/platform-browser": "^18.2.6", - "@angular/platform-browser-dynamic": "^18.2.6", - "@angular/router": "^18.2.6", + "@angular/animations": "^18.2.7", + "@angular/common": "^18.2.7", + "@angular/compiler": "^18.2.7", + "@angular/core": "^18.2.7", + "@angular/forms": "^18.2.7", + "@angular/platform-browser": "^18.2.7", + "@angular/platform-browser-dynamic": "^18.2.7", + "@angular/router": "^18.2.7", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.6", - "@angular/cli": "^18.2.6", - "@angular/compiler-cli": "^18.2.6", + "@angular-devkit/build-angular": "^18.2.8", + "@angular/cli": "^18.2.8", + "@angular/compiler-cli": "^18.2.7", "@types/node": "^12.11.1", "typescript": "~5.5.3" } @@ -43,13 +43,13 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1802.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.6.tgz", - "integrity": "sha512-oF7cPFdTLxeuvXkK/opSdIxZ1E4LrBbmuytQ/nCoAGOaKBWdqvwagRZ6jVhaI0Gwu48rkcV7Zhesg/ESNnROdw==", + "version": "0.1802.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.8.tgz", + "integrity": "sha512-/rtFQEKgS7LlB9oHr4NCBSdKnvP5kr8L5Hbd3Vl8hZOYK9QWjxKPEXnryA2d5+PCE98bBzZswCNXqELZCPTgIQ==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.6", + "@angular-devkit/core": "18.2.8", "rxjs": "7.8.1" }, "engines": { @@ -59,17 +59,17 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.6.tgz", - "integrity": "sha512-u12cJZttgs5j7gICHWSmcaTCu0EFXEzKqI8nkYCwq2MtuJlAXiMQSXYuEP9OU3Go4vMAPtQh2kShyOWCX5b4EQ==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.8.tgz", + "integrity": "sha512-qK/iLk7A8vQp1CyiJV4DpwfLjPKoiOlTtFqoO5vD8Tyxmc+R06FQp6GJTsZ7JtrTLYSiH+QAWiY6NgF/Rj/hHg==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.6", - "@angular-devkit/build-webpack": "0.1802.6", - "@angular-devkit/core": "18.2.6", - "@angular/build": "18.2.6", + "@angular-devkit/architect": "0.1802.8", + "@angular-devkit/build-webpack": "0.1802.8", + "@angular-devkit/core": "18.2.8", + "@angular/build": "18.2.8", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -80,7 +80,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.6", + "@ngtools/webpack": "18.2.8", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -763,13 +763,13 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1802.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.6.tgz", - "integrity": "sha512-JMLcXFaitJplwZMKkqhbYirINCRD6eOPZuIGaIOVynXYGWgvJkLT9t5C2wm9HqSLtp1K7NcYG2Y7PtTVR4krnQ==", + "version": "0.1802.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.8.tgz", + "integrity": "sha512-uPpopkXkO66SSdjtVr7xCyQCPs/x6KUC76xkDc4j0b8EEHifTbi/fNpbkcZ6wBmoAfjKLWXfKvtkh0TqKK5Hkw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.6", + "@angular-devkit/architect": "0.1802.8", "rxjs": "7.8.1" }, "engines": { @@ -783,9 +783,9 @@ } }, "node_modules/@angular-devkit/core": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.6.tgz", - "integrity": "sha512-la4CFvs5PcRWSkQ/H7TB5cPZirFVA9GoWk5LzIk8si6VjWBJRm8b3keKJoC9LlNeABRUIR5z0ocYkyQQUhdMfg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.8.tgz", + "integrity": "sha512-4o2T6wsmXGE/v53+F8L7kGoN2+qzt03C9rtjLVQpOljzpJVttQ8bhvfWxyYLWwcl04RWqRa+82fpIZtBkOlZJw==", "dev": true, "license": "MIT", "dependencies": { @@ -842,13 +842,13 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.6.tgz", - "integrity": "sha512-uIttrQ2cQ2PWAFFVPeCoNR8xvs7tPJ2i8gzqsIwYdge107xDC6u9CqfgmBqPDSFpWj+IiC2Jwcm8Z4HYKU4+7A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.8.tgz", + "integrity": "sha512-i/h2Oji5FhJMC7wDSnIl5XUe/qym+C1ZwScaATJwDyRLCUIynZkj5rLgdG/uK6l+H0PgvxigkF+akWpokkwW6w==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.6", + "@angular-devkit/core": "18.2.8", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -877,9 +877,9 @@ } }, "node_modules/@angular/animations": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.6.tgz", - "integrity": "sha512-vy9wy+Q9beiRxkEO8wNxFQ63AqAujGvk8AUHepxxIT7QNNc512TNKz8uH+feWDPO38Dm2obwYQHMGzs3WO7pUA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.7.tgz", + "integrity": "sha512-5B7qD1K+kKOf9lgJT4VNMft3IK2BnRHjN1S6l38ywzQ/nxpmCG7f+qKAAU6CpCywhNUBeXW0hVXTMuMNPVOcQQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -888,18 +888,18 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.6" + "@angular/core": "18.2.7" } }, "node_modules/@angular/build": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.6.tgz", - "integrity": "sha512-TQzX6Mi7uXFvmz7+OVl4Za7WawYPcx+B5Ewm6IY/DdMyB9P/Z4tbKb1LO+ynWUXYwm7avXo6XQQ4m5ArDY5F/A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.8.tgz", + "integrity": "sha512-ufuA4vHJSrL9SQW7bKV61DOoN1mm0t0ILTHaxSoCG3YF70cZJOX7+HNp3cK2uoldRMwbTOKSvCWBw54KKDRd5Q==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.6", + "@angular-devkit/architect": "0.1802.8", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -1352,9 +1352,9 @@ } }, "node_modules/@angular/build/node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dev": true, "license": "MIT", "optional": true, @@ -1545,18 +1545,18 @@ } }, "node_modules/@angular/cli": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.6.tgz", - "integrity": "sha512-tdXsnV/w+Rgu8q0zFsLU5L9ImTVqrTol1vppHaQkJ/vuoHy+s8ZEbBqhVrO/ffosNb2xseUybGYvqMS4zkNQjg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.8.tgz", + "integrity": "sha512-GKXG7F7z5rxwZ8/bnW/Bp8/zsfE/BpHmIP/icLfUIOwv2kaY5OD2tfQssWXPEuqZzYq2AYz+wjVSbWjxGoja8A==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1802.6", - "@angular-devkit/core": "18.2.6", - "@angular-devkit/schematics": "18.2.6", + "@angular-devkit/architect": "0.1802.8", + "@angular-devkit/core": "18.2.8", + "@angular-devkit/schematics": "18.2.8", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.6", + "@schematics/angular": "18.2.8", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -1579,9 +1579,9 @@ } }, "node_modules/@angular/common": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.6.tgz", - "integrity": "sha512-89793ow+wrI1c7C6kyMbnweLNIZHzXthosxAEjipRZGBrqBYjvTtkE45Fl+5yBa3JO7bAhyGkUnEoyvWtZIAEA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.7.tgz", + "integrity": "sha512-5vDBmBR2JcIxHVEDunKXNU+T+OvTGiHZTSo35GFOHJxKFgX5g6+0tJBZunK04oBZGbJQUmp3pg2kMvuKKjZnkQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1590,14 +1590,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.6", + "@angular/core": "18.2.7", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.6.tgz", - "integrity": "sha512-3tX2/Qw+bZ8XzKitviH8jzNGyY0uohhehhBB57OJOCc+yr4ojy/7SYFnun1lSsRnDztdCE461641X4iQLCQ94w==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.7.tgz", + "integrity": "sha512-XemlYyRGnu/HrICtXwTPmGtyOrI8BhbGg/HMiJ7sVx40AeEIX0uyDgnu9Gc5OjmtDqZZ8Qftg1sQAxaCVjLb1w==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1606,7 +1606,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.2.6" + "@angular/core": "18.2.7" }, "peerDependenciesMeta": { "@angular/core": { @@ -1615,9 +1615,9 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.6.tgz", - "integrity": "sha512-b5x9STfjNiNM/S0D+CnqRP9UOxPtSz1+RlCH5WdOMiW/p8j5p6dBix8YYgTe6Wg3OD7eItD2pnFQKgF/dWiopA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.7.tgz", + "integrity": "sha512-U7cveObj+rrXH5EC8egAhATCeAAcOceEQDTVIOWmBa0qMR4hOMjtI2XUS2QRuI1Q+fQZ2hVEOW95WVLvEMsANA==", "dev": true, "license": "MIT", "dependencies": { @@ -1639,14 +1639,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.2.6", + "@angular/compiler": "18.2.7", "typescript": ">=5.4 <5.6" } }, "node_modules/@angular/core": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.6.tgz", - "integrity": "sha512-PjFad2j4YBwLVTw+0Te8CJCa/tV0W8caTHG8aOjj3ObdL6ihGI+FKnwerLc9RVzDFd14BOO4C6/+LbOQAh3Ltw==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.7.tgz", + "integrity": "sha512-hLOxgxLiyWm9iVHBsUsJfx1hDsXWZnfJBlr+N7cev53f0CDoPfbshqq6KV+JFqXFDguzR9dKHm1ewT1jK3e6Tw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1660,9 +1660,9 @@ } }, "node_modules/@angular/forms": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.6.tgz", - "integrity": "sha512-quGkUqTxlBaLB8C/RnpfFG57fdmNF5RQ+368N89Ma++2lpIsVAHaGZZn4yOyo3wNYaM2jBxNqaYxOzZNUl5Tig==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.7.tgz", + "integrity": "sha512-WO3c9/OA7ekBnDBgmvi5TlHshOt5S4NREIP+/VVyuRgg28BwUWyO/Nqh19nguE1UNNRt6OMLkT6NSV2ewhcXUg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1671,16 +1671,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.6", - "@angular/core": "18.2.6", - "@angular/platform-browser": "18.2.6", + "@angular/common": "18.2.7", + "@angular/core": "18.2.7", + "@angular/platform-browser": "18.2.7", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.6.tgz", - "integrity": "sha512-RA8UMiYNLga+QMwpKcDw1357gYPfPyY/rmLeezMak//BbsENFYQOJ4Z6DBOBNiPlHxmBsUJMGaKdlpQhfCROyQ==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.7.tgz", + "integrity": "sha512-xgj2DH/isFrMZ73dJJm89NRnWBI3AHtugQrZbIapkKBdEt/C1o4SR2W2cV4mPb9o+ELnWurfrxFt9o/q2vnVLw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1689,9 +1689,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/animations": "18.2.6", - "@angular/common": "18.2.6", - "@angular/core": "18.2.6" + "@angular/animations": "18.2.7", + "@angular/common": "18.2.7", + "@angular/core": "18.2.7" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1700,9 +1700,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.6.tgz", - "integrity": "sha512-kGBU3FNc+DF9r33hwHZqiWoZgQbCDdEIucU0NCLCIg0Hw6/Q9Hr2ndjxQI+WynCPg0JeBn34jpouvpeJer3YDQ==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.7.tgz", + "integrity": "sha512-BDldzUKjnUjo0NW5gHjBY6CeJP1bWVfF1h/T3idyYG+F4Lxlb3aykRgLWXg4srNLY1KqE7XOYUmgc5cV613bgw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1711,16 +1711,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.6", - "@angular/compiler": "18.2.6", - "@angular/core": "18.2.6", - "@angular/platform-browser": "18.2.6" + "@angular/common": "18.2.7", + "@angular/compiler": "18.2.7", + "@angular/core": "18.2.7", + "@angular/platform-browser": "18.2.7" } }, "node_modules/@angular/router": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.6.tgz", - "integrity": "sha512-t57Sqja8unHhZlPr+4CWnQacuox2M4p2pMHps+31wt337qH6mKf4jqDmK0dE/MFdRyKjT2a2E/2NwtxXxcWNuw==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.7.tgz", + "integrity": "sha512-TXE8Aw63hDp3PEaNu4B1DMNvlS0uCzs36o/OSCCmewmLnzyJygkgi4jeEj20FsWPAQOUj5g5tnCYgxz1IRrCUg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -1729,9 +1729,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.2.6", - "@angular/core": "18.2.6", - "@angular/platform-browser": "18.2.6", + "@angular/common": "18.2.7", + "@angular/core": "18.2.7", + "@angular/platform-browser": "18.2.7", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -4548,9 +4548,9 @@ } }, "node_modules/@jsonjoy.com/util": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.3.0.tgz", - "integrity": "sha512-Cebt4Vk7k1xHy87kHY7KSPLT77A7Ev7IfOblyLZhtYEhrdQ6fX4EoLq3xOQ3O/DRMEh2ok5nyC180E+ABS8Wmw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.5.0.tgz", + "integrity": "sha512-ojoNsrIuPI9g6o8UxhraZQSyF2ByJanAY4cTFbc8Mf2AXEF4aQRGY1dJxyJpuyav8r9FGflEt/Ff3u5Nt6YMPA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -4756,9 +4756,9 @@ ] }, "node_modules/@ngtools/webpack": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.6.tgz", - "integrity": "sha512-7HwOPE1EOgcHnpt4brSiT8G2CcXB50G0+CbCBaKGy4LYCG3Y3mrlzF5Fup9HvMJ6Tzqd62RqzpKKYBiGUT7hxg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.8.tgz", + "integrity": "sha512-sq0kI8gEen4QlM6X8XqOYy7j4B8iLCYNo+iKxatV36ts4AXH0MuVkP56+oMaoH5oZNoSqd0RlfnotEHfvJAr8A==", "dev": true, "license": "MIT", "engines": { @@ -5208,14 +5208,14 @@ ] }, "node_modules/@schematics/angular": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.6.tgz", - "integrity": "sha512-Y988EoOEQDLEyHu3414T6AeVUyx21AexBHQNbUNQkK8cxlxyB6m1eH1cx6vFgLRFUTsLVv+C6Ln/ICNTfLcG4A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.8.tgz", + "integrity": "sha512-62Sr7/j/dlhZorxH4GzQgpJy0s162BVts0Q7knZuEacP4VL+IWOUE1NS9OFkh/cbomoyXBdoewkZ5Zd1dVX78w==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.2.6", - "@angular-devkit/schematics": "18.2.6", + "@angular-devkit/core": "18.2.8", + "@angular-devkit/schematics": "18.2.8", "jsonc-parser": "3.3.1" }, "engines": { @@ -6792,9 +6792,9 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "dev": true, "license": "MIT", "engines": { @@ -7716,9 +7716,9 @@ "license": "Apache-2.0" }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dev": true, "license": "MIT", "dependencies": { @@ -7727,7 +7727,7 @@ "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -9767,9 +9767,9 @@ } }, "node_modules/memfs": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.12.0.tgz", - "integrity": "sha512-74wDsex5tQDSClVkeK1vtxqYCAgCoXxx+K4NSHzgU/muYVYByFqa+0RnrPO9NM6naWm1+G9JmZ0p6QHhXmeYfA==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.13.0.tgz", + "integrity": "sha512-dIs5KGy24fbdDhIAg0RxXpFqQp3RwL6wgSMRF9OSuphL/Uc9a4u2/SDJKPLj/zUgtOGKuHrRMrj563+IErj4Cg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -13243,9 +13243,9 @@ } }, "node_modules/webpack-dev-server/node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz", + "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==", "dev": true, "license": "MIT", "dependencies": { @@ -13629,26 +13629,26 @@ } }, "@angular-devkit/architect": { - "version": "0.1802.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.6.tgz", - "integrity": "sha512-oF7cPFdTLxeuvXkK/opSdIxZ1E4LrBbmuytQ/nCoAGOaKBWdqvwagRZ6jVhaI0Gwu48rkcV7Zhesg/ESNnROdw==", + "version": "0.1802.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.8.tgz", + "integrity": "sha512-/rtFQEKgS7LlB9oHr4NCBSdKnvP5kr8L5Hbd3Vl8hZOYK9QWjxKPEXnryA2d5+PCE98bBzZswCNXqELZCPTgIQ==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.6", + "@angular-devkit/core": "18.2.8", "rxjs": "7.8.1" } }, "@angular-devkit/build-angular": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.6.tgz", - "integrity": "sha512-u12cJZttgs5j7gICHWSmcaTCu0EFXEzKqI8nkYCwq2MtuJlAXiMQSXYuEP9OU3Go4vMAPtQh2kShyOWCX5b4EQ==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.8.tgz", + "integrity": "sha512-qK/iLk7A8vQp1CyiJV4DpwfLjPKoiOlTtFqoO5vD8Tyxmc+R06FQp6GJTsZ7JtrTLYSiH+QAWiY6NgF/Rj/hHg==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.6", - "@angular-devkit/build-webpack": "0.1802.6", - "@angular-devkit/core": "18.2.6", - "@angular/build": "18.2.6", + "@angular-devkit/architect": "0.1802.8", + "@angular-devkit/build-webpack": "0.1802.8", + "@angular-devkit/core": "18.2.8", + "@angular/build": "18.2.8", "@babel/core": "7.25.2", "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", @@ -13659,7 +13659,7 @@ "@babel/preset-env": "7.25.3", "@babel/runtime": "7.25.0", "@discoveryjs/json-ext": "0.6.1", - "@ngtools/webpack": "18.2.6", + "@ngtools/webpack": "18.2.8", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", "autoprefixer": "10.4.20", @@ -13964,19 +13964,19 @@ } }, "@angular-devkit/build-webpack": { - "version": "0.1802.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.6.tgz", - "integrity": "sha512-JMLcXFaitJplwZMKkqhbYirINCRD6eOPZuIGaIOVynXYGWgvJkLT9t5C2wm9HqSLtp1K7NcYG2Y7PtTVR4krnQ==", + "version": "0.1802.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.8.tgz", + "integrity": "sha512-uPpopkXkO66SSdjtVr7xCyQCPs/x6KUC76xkDc4j0b8EEHifTbi/fNpbkcZ6wBmoAfjKLWXfKvtkh0TqKK5Hkw==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.6", + "@angular-devkit/architect": "0.1802.8", "rxjs": "7.8.1" } }, "@angular-devkit/core": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.6.tgz", - "integrity": "sha512-la4CFvs5PcRWSkQ/H7TB5cPZirFVA9GoWk5LzIk8si6VjWBJRm8b3keKJoC9LlNeABRUIR5z0ocYkyQQUhdMfg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.8.tgz", + "integrity": "sha512-4o2T6wsmXGE/v53+F8L7kGoN2+qzt03C9rtjLVQpOljzpJVttQ8bhvfWxyYLWwcl04RWqRa+82fpIZtBkOlZJw==", "dev": true, "requires": { "ajv": "8.17.1", @@ -14005,12 +14005,12 @@ } }, "@angular-devkit/schematics": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.6.tgz", - "integrity": "sha512-uIttrQ2cQ2PWAFFVPeCoNR8xvs7tPJ2i8gzqsIwYdge107xDC6u9CqfgmBqPDSFpWj+IiC2Jwcm8Z4HYKU4+7A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.8.tgz", + "integrity": "sha512-i/h2Oji5FhJMC7wDSnIl5XUe/qym+C1ZwScaATJwDyRLCUIynZkj5rLgdG/uK6l+H0PgvxigkF+akWpokkwW6w==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.6", + "@angular-devkit/core": "18.2.8", "jsonc-parser": "3.3.1", "magic-string": "0.30.11", "ora": "5.4.1", @@ -14028,21 +14028,21 @@ } }, "@angular/animations": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.6.tgz", - "integrity": "sha512-vy9wy+Q9beiRxkEO8wNxFQ63AqAujGvk8AUHepxxIT7QNNc512TNKz8uH+feWDPO38Dm2obwYQHMGzs3WO7pUA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.7.tgz", + "integrity": "sha512-5B7qD1K+kKOf9lgJT4VNMft3IK2BnRHjN1S6l38ywzQ/nxpmCG7f+qKAAU6CpCywhNUBeXW0hVXTMuMNPVOcQQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/build": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.6.tgz", - "integrity": "sha512-TQzX6Mi7uXFvmz7+OVl4Za7WawYPcx+B5Ewm6IY/DdMyB9P/Z4tbKb1LO+ynWUXYwm7avXo6XQQ4m5ArDY5F/A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.8.tgz", + "integrity": "sha512-ufuA4vHJSrL9SQW7bKV61DOoN1mm0t0ILTHaxSoCG3YF70cZJOX7+HNp3cK2uoldRMwbTOKSvCWBw54KKDRd5Q==", "dev": true, "requires": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1802.6", + "@angular-devkit/architect": "0.1802.8", "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", @@ -14230,9 +14230,9 @@ "optional": true }, "@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dev": true, "optional": true, "peer": true, @@ -14331,17 +14331,17 @@ } }, "@angular/cli": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.6.tgz", - "integrity": "sha512-tdXsnV/w+Rgu8q0zFsLU5L9ImTVqrTol1vppHaQkJ/vuoHy+s8ZEbBqhVrO/ffosNb2xseUybGYvqMS4zkNQjg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.8.tgz", + "integrity": "sha512-GKXG7F7z5rxwZ8/bnW/Bp8/zsfE/BpHmIP/icLfUIOwv2kaY5OD2tfQssWXPEuqZzYq2AYz+wjVSbWjxGoja8A==", "dev": true, "requires": { - "@angular-devkit/architect": "0.1802.6", - "@angular-devkit/core": "18.2.6", - "@angular-devkit/schematics": "18.2.6", + "@angular-devkit/architect": "0.1802.8", + "@angular-devkit/core": "18.2.8", + "@angular-devkit/schematics": "18.2.8", "@inquirer/prompts": "5.3.8", "@listr2/prompt-adapter-inquirer": "2.0.15", - "@schematics/angular": "18.2.6", + "@schematics/angular": "18.2.8", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", @@ -14356,25 +14356,25 @@ } }, "@angular/common": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.6.tgz", - "integrity": "sha512-89793ow+wrI1c7C6kyMbnweLNIZHzXthosxAEjipRZGBrqBYjvTtkE45Fl+5yBa3JO7bAhyGkUnEoyvWtZIAEA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.7.tgz", + "integrity": "sha512-5vDBmBR2JcIxHVEDunKXNU+T+OvTGiHZTSo35GFOHJxKFgX5g6+0tJBZunK04oBZGbJQUmp3pg2kMvuKKjZnkQ==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.6.tgz", - "integrity": "sha512-3tX2/Qw+bZ8XzKitviH8jzNGyY0uohhehhBB57OJOCc+yr4ojy/7SYFnun1lSsRnDztdCE461641X4iQLCQ94w==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.7.tgz", + "integrity": "sha512-XemlYyRGnu/HrICtXwTPmGtyOrI8BhbGg/HMiJ7sVx40AeEIX0uyDgnu9Gc5OjmtDqZZ8Qftg1sQAxaCVjLb1w==", "requires": { "tslib": "^2.3.0" } }, "@angular/compiler-cli": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.6.tgz", - "integrity": "sha512-b5x9STfjNiNM/S0D+CnqRP9UOxPtSz1+RlCH5WdOMiW/p8j5p6dBix8YYgTe6Wg3OD7eItD2pnFQKgF/dWiopA==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.7.tgz", + "integrity": "sha512-U7cveObj+rrXH5EC8egAhATCeAAcOceEQDTVIOWmBa0qMR4hOMjtI2XUS2QRuI1Q+fQZ2hVEOW95WVLvEMsANA==", "dev": true, "requires": { "@babel/core": "7.25.2", @@ -14388,41 +14388,41 @@ } }, "@angular/core": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.6.tgz", - "integrity": "sha512-PjFad2j4YBwLVTw+0Te8CJCa/tV0W8caTHG8aOjj3ObdL6ihGI+FKnwerLc9RVzDFd14BOO4C6/+LbOQAh3Ltw==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.7.tgz", + "integrity": "sha512-hLOxgxLiyWm9iVHBsUsJfx1hDsXWZnfJBlr+N7cev53f0CDoPfbshqq6KV+JFqXFDguzR9dKHm1ewT1jK3e6Tw==", "requires": { "tslib": "^2.3.0" } }, "@angular/forms": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.6.tgz", - "integrity": "sha512-quGkUqTxlBaLB8C/RnpfFG57fdmNF5RQ+368N89Ma++2lpIsVAHaGZZn4yOyo3wNYaM2jBxNqaYxOzZNUl5Tig==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.7.tgz", + "integrity": "sha512-WO3c9/OA7ekBnDBgmvi5TlHshOt5S4NREIP+/VVyuRgg28BwUWyO/Nqh19nguE1UNNRt6OMLkT6NSV2ewhcXUg==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.6.tgz", - "integrity": "sha512-RA8UMiYNLga+QMwpKcDw1357gYPfPyY/rmLeezMak//BbsENFYQOJ4Z6DBOBNiPlHxmBsUJMGaKdlpQhfCROyQ==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.7.tgz", + "integrity": "sha512-xgj2DH/isFrMZ73dJJm89NRnWBI3AHtugQrZbIapkKBdEt/C1o4SR2W2cV4mPb9o+ELnWurfrxFt9o/q2vnVLw==", "requires": { "tslib": "^2.3.0" } }, "@angular/platform-browser-dynamic": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.6.tgz", - "integrity": "sha512-kGBU3FNc+DF9r33hwHZqiWoZgQbCDdEIucU0NCLCIg0Hw6/Q9Hr2ndjxQI+WynCPg0JeBn34jpouvpeJer3YDQ==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.7.tgz", + "integrity": "sha512-BDldzUKjnUjo0NW5gHjBY6CeJP1bWVfF1h/T3idyYG+F4Lxlb3aykRgLWXg4srNLY1KqE7XOYUmgc5cV613bgw==", "requires": { "tslib": "^2.3.0" } }, "@angular/router": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.6.tgz", - "integrity": "sha512-t57Sqja8unHhZlPr+4CWnQacuox2M4p2pMHps+31wt337qH6mKf4jqDmK0dE/MFdRyKjT2a2E/2NwtxXxcWNuw==", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.7.tgz", + "integrity": "sha512-TXE8Aw63hDp3PEaNu4B1DMNvlS0uCzs36o/OSCCmewmLnzyJygkgi4jeEj20FsWPAQOUj5g5tnCYgxz1IRrCUg==", "requires": { "tslib": "^2.3.0" } @@ -16192,9 +16192,9 @@ } }, "@jsonjoy.com/util": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.3.0.tgz", - "integrity": "sha512-Cebt4Vk7k1xHy87kHY7KSPLT77A7Ev7IfOblyLZhtYEhrdQ6fX4EoLq3xOQ3O/DRMEh2ok5nyC180E+ABS8Wmw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.5.0.tgz", + "integrity": "sha512-ojoNsrIuPI9g6o8UxhraZQSyF2ByJanAY4cTFbc8Mf2AXEF4aQRGY1dJxyJpuyav8r9FGflEt/Ff3u5Nt6YMPA==", "dev": true, "requires": {} }, @@ -16298,9 +16298,9 @@ "optional": true }, "@ngtools/webpack": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.6.tgz", - "integrity": "sha512-7HwOPE1EOgcHnpt4brSiT8G2CcXB50G0+CbCBaKGy4LYCG3Y3mrlzF5Fup9HvMJ6Tzqd62RqzpKKYBiGUT7hxg==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.8.tgz", + "integrity": "sha512-sq0kI8gEen4QlM6X8XqOYy7j4B8iLCYNo+iKxatV36ts4AXH0MuVkP56+oMaoH5oZNoSqd0RlfnotEHfvJAr8A==", "dev": true, "requires": {} }, @@ -16573,13 +16573,13 @@ "optional": true }, "@schematics/angular": { - "version": "18.2.6", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.6.tgz", - "integrity": "sha512-Y988EoOEQDLEyHu3414T6AeVUyx21AexBHQNbUNQkK8cxlxyB6m1eH1cx6vFgLRFUTsLVv+C6Ln/ICNTfLcG4A==", + "version": "18.2.8", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.8.tgz", + "integrity": "sha512-62Sr7/j/dlhZorxH4GzQgpJy0s162BVts0Q7knZuEacP4VL+IWOUE1NS9OFkh/cbomoyXBdoewkZ5Zd1dVX78w==", "dev": true, "requires": { - "@angular-devkit/core": "18.2.6", - "@angular-devkit/schematics": "18.2.6", + "@angular-devkit/core": "18.2.8", + "@angular-devkit/schematics": "18.2.8", "jsonc-parser": "3.3.1" } }, @@ -17722,9 +17722,9 @@ } }, "cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "dev": true }, "cookie-signature": { @@ -18341,9 +18341,9 @@ "dev": true }, "express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "dev": true, "requires": { "accepts": "~1.3.8", @@ -18351,7 +18351,7 @@ "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -19693,9 +19693,9 @@ "dev": true }, "memfs": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.12.0.tgz", - "integrity": "sha512-74wDsex5tQDSClVkeK1vtxqYCAgCoXxx+K4NSHzgU/muYVYByFqa+0RnrPO9NM6naWm1+G9JmZ0p6QHhXmeYfA==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.13.0.tgz", + "integrity": "sha512-dIs5KGy24fbdDhIAg0RxXpFqQp3RwL6wgSMRF9OSuphL/Uc9a4u2/SDJKPLj/zUgtOGKuHrRMrj563+IErj4Cg==", "dev": true, "requires": { "@jsonjoy.com/json-pack": "^1.0.3", @@ -22070,9 +22070,9 @@ }, "dependencies": { "http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz", + "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==", "dev": true, "requires": { "@types/http-proxy": "^1.17.8", diff --git a/src/AngularComponents/package.json b/src/AngularComponents/package.json index 7ad02cb2..3fb76b71 100644 --- a/src/AngularComponents/package.json +++ b/src/AngularComponents/package.json @@ -10,22 +10,22 @@ "private": true, "dependencies": { "@angular-slider/ngx-slider": "^18.0.0", - "@angular/animations": "^18.2.6", - "@angular/common": "^18.2.6", - "@angular/compiler": "^18.2.6", - "@angular/core": "^18.2.6", - "@angular/forms": "^18.2.6", - "@angular/platform-browser": "^18.2.6", - "@angular/platform-browser-dynamic": "^18.2.6", - "@angular/router": "^18.2.6", + "@angular/animations": "^18.2.7", + "@angular/common": "^18.2.7", + "@angular/compiler": "^18.2.7", + "@angular/core": "^18.2.7", + "@angular/forms": "^18.2.7", + "@angular/platform-browser": "^18.2.7", + "@angular/platform-browser-dynamic": "^18.2.7", + "@angular/router": "^18.2.7", "rxjs": "~7.8.1", "tslib": "^2.6.3", "zone.js": "~0.14.10" }, "devDependencies": { - "@angular-devkit/build-angular": "^18.2.6", - "@angular/cli": "^18.2.6", - "@angular/compiler-cli": "^18.2.6", + "@angular-devkit/build-angular": "^18.2.8", + "@angular/cli": "^18.2.8", + "@angular/compiler-cli": "^18.2.7", "@types/node": "^12.11.1", "typescript": "~5.5.3" } diff --git a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js index 65ad8519..6b4ef751 100644 --- a/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js +++ b/src/ReportGenerator.Core/Reporting/Builders/Rendering/resources/main.js @@ -1 +1 @@ -"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{736:()=>{function so(e,n){return Object.is(e,n)}let Ae=null,Wi=!1,Zi=1;const qt=Symbol("SIGNAL");function X(e){const n=Ae;return Ae=e,n}const Vs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Mc(e){if(Wi)throw new Error("");if(null===Ae)return;Ae.consumerOnSignalRead(e);const n=Ae.nextProducerIndex++;js(Ae),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Sc(e){js(e);for(let n=0;n0}function js(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Rp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Lp(e){return void 0!==e.producerNode}const Nc=Symbol("UNSET"),Ac=Symbol("COMPUTING"),Us=Symbol("ERRORED"),WI={...Vs,value:Nc,dirty:!0,error:null,equal:so,producerMustRecompute:e=>e.value===Nc||e.value===Ac,producerRecomputeValue(e){if(e.value===Ac)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Ac;const t=Hs(e);let i;try{i=e.computation()}catch(r){i=Us,e.error=r}finally{Tc(e,t)}n!==Nc&&n!==Us&&i!==Us&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let Pp=function ZI(){throw new Error};function kp(){Pp()}let $s=null;function Fp(e,n){Np()||kp(),e.equal(e.value,n)||(e.value=n,function JI(e){e.version++,function GI(){Zi++}(),Op(e),$s?.()}(e))}const XI={...Vs,equal:so,value:void 0};function Fe(e){return"function"==typeof e}function Hp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const xc=Hp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function zs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Tt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Fe(i))try{i()}catch(o){n=o instanceof xc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Up(o)}catch(s){n=n??[],s instanceof xc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new xc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Up(n);else{if(n instanceof Tt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&zs(t,n)}remove(n){const{_finalizers:t}=this;t&&zs(t,n),n instanceof Tt&&n._removeParent(this)}}Tt.EMPTY=(()=>{const e=new Tt;return e.closed=!0,e})();const Bp=Tt.EMPTY;function jp(e){return e instanceof Tt||e&&"closed"in e&&Fe(e.remove)&&Fe(e.add)&&Fe(e.unsubscribe)}function Up(e){Fe(e)?e():e.unsubscribe()}const fi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Gs={setTimeout(e,n,...t){const{delegate:i}=Gs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Gs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $p(e){Gs.setTimeout(()=>{const{onUnhandledError:n}=fi;if(!n)throw e;n(e)})}function zp(){}const tM=Rc("C",void 0,void 0);function Rc(e,n,t){return{kind:e,value:n,error:t}}let hi=null;function qs(e){if(fi.useDeprecatedSynchronousErrorHandling){const n=!hi;if(n&&(hi={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=hi;if(hi=null,t)throw i}}else e()}class Lc extends Tt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jp(n)&&n.add(this)):this.destination=lM}static create(n,t,i){return new kc(n,t,i)}next(n){this.isStopped?Fc(function iM(e){return Rc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Fc(function nM(e){return Rc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Fc(tM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const oM=Function.prototype.bind;function Pc(e,n){return oM.call(e,n)}class sM{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Ws(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Ws(i)}else Ws(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ws(t)}}}class kc extends Lc{constructor(n,t,i){let r;if(super(),Fe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&fi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Pc(n.next,o),error:n.error&&Pc(n.error,o),complete:n.complete&&Pc(n.complete,o)}):r=n}this.destination=new sM(r)}}function Ws(e){fi.useDeprecatedSynchronousErrorHandling?function rM(e){fi.useDeprecatedSynchronousErrorHandling&&hi&&(hi.errorThrown=!0,hi.error=e)}(e):$p(e)}function Fc(e,n){const{onStoppedNotification:t}=fi;t&&Gs.setTimeout(()=>t(e,n))}const lM={closed:!0,next:zp,error:function aM(e){throw e},complete:zp},Vc="function"==typeof Symbol&&Symbol.observable||"@@observable";function Hc(e){return e}let St=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function uM(e){return e&&e instanceof Lc||function cM(e){return e&&Fe(e.next)&&Fe(e.error)&&Fe(e.complete)}(e)&&jp(e)}(t)?t:new kc(t,i,r);return qs(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=qp(i))((r,o)=>{const s=new kc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Vc](){return this}pipe(...t){return function Gp(e){return 0===e.length?Hc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=qp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function qp(e){var n;return null!==(n=e??fi.Promise)&&void 0!==n?n:Promise}const dM=Hp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ln=(()=>{class e extends St{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Wp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new dM}next(t){qs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){qs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){qs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Bp:(this.currentObservers=null,o.push(t),new Tt(()=>{this.currentObservers=null,zs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new St;return t.source=this,t}}return e.create=(n,t)=>new Wp(n,t),e})();class Wp extends ln{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Bp}}class fM extends ln{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function pi(e){return n=>{if(function hM(e){return Fe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Un(e,n,t,i,r){return new pM(e,n,t,i,r)}class pM extends Lc{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Bc(e,n){return pi((t,i)=>{let r=0;t.subscribe(Un(i,o=>{i.next(e.call(n,o,r++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const hg="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function Yi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Mn(e){return{toString:e}.toString()}const Ki="__parameters__";function Ji(e,n,t){return Mn(()=>{const i=function Zc(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Ki)?l[Ki]:Object.defineProperty(l,Ki,{value:[]})[Ki];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function he(e){for(let n in e)if(e[n]===he)return n;throw Error("Could not find renamed property on target object.")}function pT(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function $e(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map($e).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Yc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const gT=he({__forward_ref__:he});function me(e){return e.__forward_ref__=me,e.toString=function(){return $e(this())},e}function j(e){return Xs(e)?e():e}function Xs(e){return"function"==typeof e&&e.hasOwnProperty(gT)&&e.__forward_ref__===me}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Js(e){return vg(e,ta)||vg(e,_g)}function vg(e,n){return e.hasOwnProperty(n)?e[n]:null}function ea(e){return e&&(e.hasOwnProperty(Qc)||e.hasOwnProperty(CT))?e[Qc]:null}const ta=he({\u0275prov:he}),Qc=he({\u0275inj:he}),_g=he({ngInjectableDef:he}),CT=he({ngInjectorDef:he});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=te({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function tu(e){return e&&!!e.\u0275providers}const co=he({\u0275cmp:he}),nu=he({\u0275dir:he}),iu=he({\u0275pipe:he}),Cg=he({\u0275mod:he}),Sn=he({\u0275fac:he}),uo=he({__NG_ELEMENT_ID__:he}),wg=he({__NG_ENV_ID__:he});function Z(e){return"string"==typeof e?e:null==e?"":String(e)}function ru(e,n){throw new S(-201,!1)}var re=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(re||{});let ou;function Eg(){return ou}function _t(e){const n=ou;return ou=e,n}function Dg(e,n,t){const i=Js(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&re.Optional?null:void 0!==n?n:void ru()}const fo={},su="__NG_DI_FLAG__",na="ngTempTokenPath",MT=/\n/gm,bg="__source";let er;function Gn(e){const n=er;return er=e,n}function OT(e,n=re.Default){if(void 0===er)throw new S(-203,!1);return null===er?Dg(e,void 0,n):er.get(e,n&re.Optional?null:void 0,n)}function oe(e,n=re.Default){return(Eg()||OT)(j(e),n)}function L(e,n=re.Default){return oe(e,ia(n))}function ia(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function au(e){const n=[];for(let t=0;tArray.isArray(t)?tr(t,n):n(t))}function Mg(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ra(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function At(e,n,t){let i=nr(e,n);return i>=0?e[1|i]=t:(i=~i,function Tg(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function du(e,n){const t=nr(e,n);if(t>=0)return e[1|t]}function nr(e,n){return function Sg(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(Zt(i))return!1;s=!0}}}}else{if(!s&&!Zt(i)&&!Zt(l))return!1;if(s&&Zt(l))continue;s=!1,i=l|1&i}}return Zt(i)||s}function Zt(e){return!(1&e)}function jT(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Zt(s)&&(n+=Pg(o,r),r=""),i=s,o=o||!Zt(i);t++}return""!==r&&(n+=Pg(o,r)),n}function Yt(e){return Mn(()=>{const n=Fg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===aa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Wt.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};Vg(t);const i=e.dependencies;return t.directiveDefs=la(i,!1),t.pipeDefs=la(i,!0),t.id=function XT(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function YT(e){return ee(e)||ze(e)}function QT(e){return null!==e}function Wn(e){return Mn(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kg(e,n){if(null==e)return cn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=qn.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==qn.None?[i,a]:i,n[o]=s):t[o]=i}return t}function z(e){return Mn(()=>{const n=Fg(e);return Vg(n),n})}function Ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ee(e){return e[co]||null}function ze(e){return e[nu]||null}function Ke(e){return e[iu]||null}function Fg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||cn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kg(e.inputs,n),outputs:kg(e.outputs),debugInfo:null}}function Vg(e){e.features?.forEach(n=>n(e))}function la(e,n){if(!e)return null;const t=n?Ke:YT;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(QT)}function JT(...e){return{\u0275providers:gu(0,e),\u0275fromNgModule:!0}}function gu(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return tr(n,s=>{const a=s;ua(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Hg(r,o),t}function Hg(e,n){for(let t=0;t{n(o,i)})}}function ua(e,n,t,i){if(!(e=j(e)))return!1;let r=null,o=ea(e);const s=!o&&ee(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=ea(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)ua(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{tr(o.imports,u=>{ua(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Hg(c,n)}if(!a){const c=mi(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:fu,useValue:r,multi:!0},r),n({provide:un,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;mu(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function mu(e,n){for(let t of e)tu(t)&&(t=t.\u0275providers),Array.isArray(t)?mu(t,n):n(t)}const e0=he({provide:String,useValue:he});function vu(e){return null!==e&&"object"==typeof e&&e0 in e}function _i(e){return"function"==typeof e}const _u=new R(""),da={},n0={};let yu;function fa(){return void 0===yu&&(yu=new sa),yu}class Qt{}class ir extends Qt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wu(n,s=>this.processProvider(s)),this.records.set(Og,rr(void 0,this)),r.has("environment")&&this.records.set(Qt,rr(void 0,this));const o=this.records.get(_u);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(fu,ae,re.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=X(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),X(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Gn(this),i=_t(void 0);try{return n()}finally{Gn(t),_t(i)}}get(n,t=fo,i=re.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(wg))return n[wg](this);i=ia(i);const o=Gn(this),s=_t(void 0);try{if(!(i&re.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function l0(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Js(n);l=c&&this.injectableDefInScope(c)?rr(Cu(n),da):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&re.Self?fa():this.parent).get(n,t=i&re.Optional&&t===fo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[na]=a[na]||[]).unshift($e(n)),o)throw a;return function AT(e,n,t,i){const r=e[na];throw n[bg]&&r.unshift(n[bg]),e.message=function xT(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=$e(n);if(Array.isArray(n))r=n.map($e).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):$e(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(MT,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[na]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{_t(s),Gn(o)}}resolveInjectorInitializers(){const n=X(null),t=Gn(this),i=_t(void 0);try{const o=this.get(un,ae,re.Self);for(const s of o)s()}finally{Gn(t),_t(i),X(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push($e(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=_i(n=j(n))?n:j(n&&n.provide);const i=function o0(e){return vu(e)?rr(void 0,e.useValue):rr(Ug(e),da)}(n);if(!_i(n)&&!0===n.multi){let r=this.records.get(t);r||(r=rr(void 0,da,!0),r.factory=()=>au(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=X(null);try{return t.value===da&&(t.value=n0,t.value=t.factory()),"object"==typeof t.value&&t.value&&function a0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{X(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=j(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Cu(e){const n=Js(e),t=null!==n?n.factory:mi(e);if(null!==t)return t;if(e instanceof R)throw new S(204,!1);if(e instanceof Function)return function r0(e){if(e.length>0)throw new S(204,!1);const t=function yT(e){return e&&(e[ta]||e[_g])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new S(204,!1)}function Ug(e,n,t){let i;if(_i(e)){const r=j(e);return mi(r)||Cu(r)}if(vu(e))i=()=>j(e.useValue);else if(function jg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...au(e.deps||[]));else if(function Bg(e){return!(!e||!e.useExisting)}(e))i=()=>oe(j(e.useExisting));else{const r=j(e&&(e.useClass||e.provide));if(!function s0(e){return!!e.deps}(e))return mi(r)||Cu(r);i=()=>new r(...au(e.deps))}return i}function rr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function wu(e,n){for(const t of e)Array.isArray(t)?wu(t,n):t&&tu(t)?wu(t.\u0275providers,n):n(t)}const Se=0,O=1,k=2,He=3,Kt=4,Xe=5,lt=6,sr=7,ye=8,Be=9,dn=10,U=11,mo=12,Gg=13,ar=14,Oe=15,yi=16,lr=17,On=18,cr=19,qg=20,Zn=21,pa=22,Bt=23,P=25,bu=1,fn=7,ur=9,xe=10;var ma=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ma||{});function qe(e){return Array.isArray(e)&&"object"==typeof e[bu]}function it(e){return Array.isArray(e)&&!0===e[bu]}function Iu(e){return!!(4&e.flags)}function Ci(e){return e.componentOffset>-1}function va(e){return!(1&~e.flags)}function Xt(e){return!!e.template}function _o(e){return!!(512&e[k])}class C0{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Kg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function hn(){return Xg}function Xg(e){return e.type.prototype.ngOnChanges&&(e.setInput=E0),w0}function w0(){const e=em(this),n=e?.current;if(n){const t=e.previous;if(t===cn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function E0(e,n,t,i,r){const o=this.declaredInputs[i],s=em(e)||function D0(e,n){return e[Jg]=n}(e,{previous:cn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new C0(c&&c.currentValue,t,l===cn),Kg(e,n,r,t)}hn.ngInherit=!0;const Jg="__ngSimpleChanges__";function em(e){return e[Jg]||null}const pn=function(e,n,t){};function le(e){for(;Array.isArray(e);)e=e[Se];return e}function yo(e,n){return le(n[e])}function ct(e,n){return le(n[e.index])}function Co(e,n){return e.data[n]}function xt(e,n){const t=n[e];return qe(t)?t:t[Se]}function Nu(e){return!(128&~e[k])}function jt(e,n){return null==n?null:e[n]}function im(e){e[lr]=0}function rm(e){1024&e[k]||(e[k]|=1024,Nu(e)&&ya(e))}function _a(e){return!!(9216&e[k]||e[Bt]?.dirty)}function Au(e){e[dn].changeDetectionScheduler?.notify(8),64&e[k]&&(e[k]|=1024),_a(e)&&ya(e)}function ya(e){e[dn].changeDetectionScheduler?.notify(0);let n=Nn(e);for(;null!==n&&!(8192&n[k])&&(n[k]|=8192,Nu(n));)n=Nn(n)}function Ca(e,n){if(!(256&~e[k]))throw new S(911,!1);null===e[Zn]&&(e[Zn]=[]),e[Zn].push(n)}function Nn(e){const n=e[He];return it(n)?n[He]:n}const $={lFrame:vm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let sm=!1;function am(){return $.bindingsEnabled}function E(){return $.lFrame.lView}function J(){return $.lFrame.tView}function G(e){return $.lFrame.contextLView=e,e[ye]}function q(e){return $.lFrame.contextLView=null,e}function pe(){let e=lm();for(;null!==e&&64===e.type;)e=e.parent;return e}function lm(){return $.lFrame.currentTNode}function Jt(e,n){const t=$.lFrame;t.currentTNode=e,t.isParent=n}function Lu(){return $.lFrame.isParent}function Pu(){$.lFrame.isParent=!1}function dm(){return sm}function fm(e){sm=e}function ut(){const e=$.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function en(){return $.lFrame.bindingIndex++}function xn(e){const n=$.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function F0(e,n){const t=$.lFrame;t.bindingIndex=t.bindingRootIndex=e,ku(n)}function ku(e){$.lFrame.currentDirectiveIndex=e}function Vu(){return $.lFrame.currentQueryIndex}function Ea(e){$.lFrame.currentQueryIndex=e}function H0(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Xe]:null}function gm(e,n,t){if(t&re.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&re.Host||(r=H0(o),null===r||(o=o[ar],10&r.type))););if(null===r)return!1;n=r,e=o}const i=$.lFrame=mm();return i.currentTNode=n,i.lView=e,!0}function Hu(e){const n=mm(),t=e[O];$.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function mm(){const e=$.lFrame,n=null===e?null:e.child;return null===n?vm(e):n}function vm(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function _m(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ym=_m;function Bu(){const e=_m();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return $.lFrame.selectedIndex}function Di(e){$.lFrame.selectedIndex=e}function Ce(){const e=$.lFrame;return Co(e.tView,e.selectedIndex)}let Em=!0;function Eo(){return Em}function gn(e){Em=e}function Da(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[lr]+=65536),(a>14>16&&(3&e[k])===n&&(e[k]+=16384,bm(a,o)):bm(a,o)}const dr=-1;class Do{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const $u={};class bi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=ia(i);const r=this.injector.get(n,$u,i);return r!==$u||t===$u?r:this.parentInjector.get(n,t,i)}}function zu(e){return e!==dr}function bo(e){return 32767&e}function Io(e,n){let t=function Q0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ar],t--;return i}let Gu=!0;function Ma(e){const n=Gu;return Gu=e,n}const Mm=255,Tm=5;let X0=0;const mn={};function Ta(e,n){const t=Sm(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,qu(i.data,e),qu(n,null),qu(i.blueprint,null));const r=Sa(e,n),o=e.injectorIndex;if(zu(r)){const s=bo(r),a=Io(r,n),l=a[O].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function qu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Sm(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Sa(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Pm(r),null===i)return dr;if(t++,r=r[ar],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return dr}function Wu(e,n,t){!function J0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(uo)&&(i=t[uo]),null==i&&(i=t[uo]=X0++);const r=i&Mm;n.data[e+(r>>Tm)]|=1<=0?n&Mm:iS:n}(t);if("function"==typeof o){if(!gm(n,e,i))return i&re.Host?Om(r,0,i):Nm(n,t,i,r);try{let s;if(s=o(i),null!=s||i&re.Optional)return s;ru()}finally{ym()}}else if("number"==typeof o){let s=null,a=Sm(e,n),l=dr,c=i&re.Host?n[Oe][Xe]:null;for((-1===a||i&re.SkipSelf)&&(l=-1===a?Sa(e,n):n[a+8],l!==dr&&Lm(i,!1)?(s=n[O],a=bo(l),n=Io(l,n)):a=-1);-1!==a;){const u=n[O];if(Rm(o,a,u.data)){const d=tS(a,n,t,s,i,c);if(d!==mn)return d}l=n[a+8],l!==dr&&Lm(i,n[O].data[a+8]===c)&&Rm(o,a,n)?(s=u,a=bo(l),n=Io(l,n)):a=-1}}return r}function tS(e,n,t,i,r,o){const s=n[O],a=s.data[e+8],u=Oa(a,s,t,null==i?Ci(a)&&Gu:i!=s&&!!(3&a.type),r&re.Host&&o===a);return null!==u?Ii(n,s,u,a):mn}function Oa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Xt(p)&&p.type===t)return l}return null}function Ii(e,n,t,i){let r=e[t];const o=n.data;if(function q0(e){return e instanceof Do}(r)){const s=r;s.resolving&&function DT(e,n){throw n&&n.join(" > "),new S(-200,e)}(function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Z(e)}(o[t]));const a=Ma(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?_t(s.injectImpl):null;gm(e,i,re.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function z0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=Xg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&_t(c),Ma(a),s.resolving=!1,ym()}}return r}function Rm(e,n,t){return!!(t[n+(e>>Tm)]&1<{const n=e.prototype.constructor,t=n[Sn]||Zu(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Sn]||Zu(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Zu(e){return Xs(e)?()=>{const n=Zu(j(e));return n&&n()}:mi(e)}function Pm(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Xe]:null}function Bm(e,n=null,t=null,i){const r=jm(e,n,t,i);return r.resolveInjectorInitializers(),r}function jm(e,n=null,t=null,i,r=new Set){const o=[t||ae,JT(e)];return i=i||("object"==typeof e?void 0:$e(e)),new ir(o,n||fa(),i||null,r)}class et{static#e=this.THROW_IF_NOT_FOUND=fo;static#t=this.NULL=new sa;static create(n,t){if(Array.isArray(n))return Bm({name:""},t,n,"");{const i=n.name??"";return Bm({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=te({token:et,providedIn:"any",factory:()=>oe(Og)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=pe();if(null===n)throw new S(204,!1);if(2&n.type)return n.value;if(e&re.Optional)return null;throw new S(204,!1)};function Qu(e){return e.ngOriginalError}const $m=!0;let Mo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=pS;static#t=this.__NG_ENV_ID__=t=>t}return e})();class hS extends Mo{constructor(n){super(),this._lView=n}onDestroy(n){return Ca(this._lView,n),()=>function xu(e,n){if(null===e[Zn])return;const t=e[Zn].indexOf(n);-1!==t&&e[Zn].splice(t,1)}(this._lView,n)}}function pS(){return new hS(E())}let pr=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new fM(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})();const we=class gS extends ln{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function $g(){return void 0!==Eg()||null!=function ST(){return er}()}()&&(this.destroyRef=L(Mo,{optional:!0})??void 0,this.pendingTasks=L(pr,{optional:!0})??void 0)}emit(n){const t=X(null);try{super.next(n)}finally{X(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Tt&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function xa(...e){}function zm(e){let n,t;function i(){e=xa;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function Gm(e){return queueMicrotask(()=>e()),()=>{e=xa}}const Ku="isAngularZone",Ra=Ku+"_ID";let mS=0;class ge{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new we(!1),this.onMicrotaskEmpty=new we(!1),this.onStable=new we(!1),this.onError=new we(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=$m}=n;if(typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function yS(e){const n=()=>{!function _S(e){function n(){zm(()=>{e.callbackScheduled=!1,Ju(e),e.isCheckStableRunning=!0,Xu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Ju(e))}(e)},t=mS++;e._inner=e._inner.fork({name:"angular",properties:{[Ku]:!0,[Ra]:t,[Ra+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function CS(e){return Zm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return qm(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),Wm(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return qm(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function wS(e){return Zm(e,"__scheduler_tick__")}(l)&&n(),Wm(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Ju(e),Xu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Ku)}static assertInAngularZone(){if(!ge.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(ge.isInAngularZone())throw new S(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,vS,xa,xa);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const vS={};function Xu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wm(e){e._nesting--,Xu(e)}class ed{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new we,this.onMicrotaskEmpty=new we,this.onStable=new we,this.onError=new we}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function Zm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class vn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Qu(n);for(;t&&Qu(t);)t=Qu(t);return t||null}}const DS=new R("",{providedIn:"root",factory:()=>{const e=L(ge),n=L(vn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function bS(){return gr(pe(),E())}function gr(e,n){return new dt(ct(e,n))}let dt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=bS}return e})();function Qm(e){return e instanceof dt?e.nativeElement:e}function IS(){return this._results[Symbol.iterator]()}class td{static#e=Symbol.iterator;get changes(){return this._changes??=new we}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=td.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=IS)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function yt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function kT(e,n,t){if(e.length!==n.length)return!1;for(let i=0;iqS}),qS="ng",mv=new R(""),Mi=new R("",{providedIn:"platform",factory:()=>"unknown"}),vv=new R("",{providedIn:"root",factory:()=>Yn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let _v=()=>null;function hd(e,n,t=!1){return _v(e,n,t)}const Mv=new R("",{providedIn:"root",factory:()=>!1});let $a,za;function Cr(e){return function _d(){if(void 0===$a&&($a=null,be.trustedTypes))try{$a=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $a}()?.createHTML(e)||e}function Ov(e){return function yd(){if(void 0===za&&(za=null,be.trustedTypes))try{za=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}()?.createHTML(e)||e}class xv{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hg})`}}function Qn(e){return e instanceof xv?e.changingThisBreaksApplicationSecurity:e}function Po(e,n){const t=function dO(e){return e instanceof xv&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${hg})`)}return t===n}class fO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Cr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class hO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Cr(n),t}}const gO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cd(e){return(e=String(e)).match(gO)?e:"unsafe:"+e}function Rn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function ko(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Lv=Rn("area,br,col,hr,img,wbr"),Pv=Rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kv=Rn("rp,rt"),wd=ko(Lv,ko(Pv,Rn("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")),ko(kv,Rn("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")),ko(kv,Pv)),Ed=Rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fv=ko(Ed,Rn("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"),Rn("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")),mO=Rn("script,style,template");class vO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=CO(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=yO(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=Vv(n).toLowerCase();if(!wd.hasOwnProperty(t))return this.sanitizedSomething=!0,!mO.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=Vv(n).toLowerCase();wd.hasOwnProperty(t)&&!Lv.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Bv(n))}}function yO(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Hv(n);return n}function CO(e){const n=e.firstChild;if(n&&function _O(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Hv(n);return n}function Vv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Hv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const wO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,EO=/([^\#-~ |!])/g;function Bv(e){return e.replace(/&/g,"&").replace(wO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(EO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Ga;function Dd(e){return"content"in e&&function bO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(wr||{});function jv(e){const n=Fo();return n?Ov(n.sanitize(wr.HTML,e)||""):Po(e,"HTML")?Ov(Qn(e)):function DO(e,n){let t=null;try{Ga=Ga||function Rv(e){const n=new hO(e);return function pO(){try{return!!(new window.DOMParser).parseFromString(Cr(""),"text/html")}catch{return!1}}()?new fO(n):n}(e);let i=n?String(n):"";t=Ga.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Ga.getInertBodyElement(i)}while(i!==o);return Cr((new vO).sanitizeChildren(Dd(t)||t))}finally{if(t){const i=Dd(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(Yn(),Z(e))}function Kn(e){const n=Fo();return n?n.sanitize(wr.URL,e)||"":Po(e,"URL")?Qn(e):Cd(Z(e))}function Fo(){const e=E();return e&&e[dn].sanitizer}const AO=/^>|^->||--!>|)/g,RO="\u200b$1\u200b";function Za(e){return e.ownerDocument.defaultView}var Xn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Xn||{});let Md;function Td(e,n){return Md(e,n)}function Dr(e,n,t,i,r){if(null!=i){let o,s=!1;it(i)?o=i:qe(i)&&(s=!0,i=i[Se]);const a=le(i);0===e&&null!==t?null==r?t_(n,t,a):Si(n,t,a,r||null,!0):1===e&&null!==t?Si(n,t,a,r||null,!0):2===e?function Ho(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function XO(e,n,t,i,r){const o=t[fn];o!==le(t)&&Dr(n,e,i,o,r);for(let a=xe;an.replace(xO,RO))}(n))}function Ya(e,n,t){return e.createElement(n,t)}function Xv(e,n){n[dn].changeDetectionScheduler?.notify(9),Xa(e,n,n[U],2,null,null)}function Jv(e,n){const t=e[ur],i=n[He];(qe(i)||n[Oe]!==i[He][Oe])&&(e[k]|=ma.HasTransplantedViews),null===t?e[ur]=[n]:t.push(n)}function Nd(e,n){const t=e[ur],i=t.indexOf(n);t.splice(i,1)}function Vo(e,n){if(e.length<=xe)return;const t=xe+n,i=e[t];if(i){const r=i[yi];null!==r&&r!==e&&Nd(r,i),n>0&&(e[t-1][Kt]=i[Kt]);const o=ra(e,xe+n);!function zO(e,n){Xv(e,n),n[Se]=null,n[Xe]=null}(i[O],i);const s=o[On];null!==s&&s.detachView(o[O]),i[He]=null,i[Kt]=null,i[k]&=-129}return i}function Qa(e,n){if(!(256&n[k])){const t=n[U];t.destroyNode&&Xa(e,n,t,3,null,null),function qO(e){let n=e[mo];if(!n)return Ad(e[O],e);for(;n;){let t=null;if(qe(n))t=n[mo];else{const i=n[xe];i&&(t=i)}if(!t){for(;n&&!n[Kt]&&n!==e;)qe(n)&&Ad(n[O],n),n=n[He];null===n&&(n=e),qe(n)&&Ad(n[O],n),t=n&&n[Kt]}n=t}}(n)}}function Ad(e,n){if(256&n[k])return;const t=X(null);try{n[k]&=-129,n[k]|=256,n[Bt]&&Oc(n[Bt]),function YO(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[sr]=null);const r=n[Zn];if(null!==r){n[Zn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Wt.None||o===Wt.Emulated)return null}return ct(i,t)}}(e,n.parent,t)}function Si(e,n,t,i,r){e.insertBefore(n,t,i,r)}function t_(e,n,t){e.appendChild(n,t)}function n_(e,n,t,i,r){null!==i?Si(e,n,t,i,r):t_(e,n,t)}function Rd(e,n){return e.parentNode(n)}let Ld,o_=function r_(e,n,t){return 40&e.type?ct(e,t):null};function Ka(e,n,t,i){const r=xd(e,i,n),o=n[U],a=function i_(e,n,t){return o_(e,n,t)}(i.parent||n[Xe],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lP&&f_(e,n,P,!1),pn(s?2:0,r),t(i,r)}finally{Di(o),pn(s?3:1,r)}}function Vd(e,n,t){if(Iu(n)){const i=X(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function v_(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=qn.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?__(i,t,c,a,l):__(i,t,c,a)}return i}function __(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function Et(e,n,t,i,r,o,s,a){const l=ct(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(qd(e,t,u,i,r),Ci(n)&&function fN(e,n){const t=xt(n,e);16&t[k]||(t[k]|=64)}(t,n.index)):3&n.type&&(i=function dN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Ud(e,n,t,i){if(am()){const r=null===i?null:{"":-1},o=function _N(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,Bo(e,t,r.hostVars,Y),r)}function _n(e,n,t,i,r,o){const s=ct(e,n);!function zd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Z(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[U],s,o,e.value,t,i,r)}function bN(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{ya(e.lView)},consumerOnSignalRead(){this.lView[Bt]=this}},LN={...Vs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Nn(e.lView);for(;n&&!O_(n[O]);)n=Nn(n);n&&rm(n)},consumerOnSignalRead(){this.lView[Bt]=this}};function O_(e){return 2!==e.type}const PN=100;function nl(e,n=!0,t=0){const i=e[dn],r=i.rendererFactory;r.begin?.();try{!function kN(e,n){const t=dm();try{fm(!0),Yd(e,n);let i=0;for(;_a(e);){if(i===PN)throw new S(103,!1);i++,Yd(e,1)}}finally{fm(t)}}(e,t)}catch(s){throw n&&tl(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function FN(e,n,t,i){const r=n[k];if(!(256&~r))return;n[dn].inlineEffectRunner?.flush(),Hu(n);let a=!0,l=null,c=null;O_(e)?(c=function ON(e){return e[Bt]??function NN(e){const n=S_.pop()??Object.create(xN);return n.lView=e,n}(e)}(n),l=Hs(c)):null===function Tp(){return Ae}()?(a=!1,c=function RN(e){const n=e[Bt]??Object.create(LN);return n.lView=e,n}(n),l=Hs(c)):n[Bt]&&(Oc(n[Bt]),n[Bt]=null);try{im(n),function hm(e){return $.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&p_(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ba(n,p,null)}else{const p=e.preOrderHooks;null!==p&&Ia(n,p,0,null),ju(n,0)}if(function VN(e){for(let n=sv(e);null!==n;n=av(n)){if(!(n[k]&ma.HasTransplantedViews))continue;const t=n[ur];for(let i=0;i-1&&(Vo(n,i),ra(t,i))}this._attachedToViewContainer=!1}Qa(this._lView[O],this._lView)}onDestroy(n){Ca(this._lView,n)}markForCheck(){Uo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[k]&=-129}reattach(){Au(this._lView),this._lView[k]|=128}detectChanges(){this._lView[k]|=1024,nl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=_o(this._lView),t=this._lView[yi];null!==t&&!n&&Nd(t,this._lView),Xv(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n;const t=_o(this._lView),i=this._lView[yi];null!==i&&!t&&Jv(i,this._lView),Au(this._lView)}}let Pn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=UN}return e})();const BN=Pn,jN=class extends BN{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function br(e,n,t,i){const r=X(null);try{const o=n.tView,l=Ja(e,o,t,4096&e[k]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[yi]=e[n.index];const u=e[On];return null!==u&&(l[On]=u.createEmbeddedView(o)),Wd(o,l,t),l}finally{X(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new $o(r)}};function UN(){return il(pe(),E())}function il(e,n){return 4&e.type?new jN(n,e,gr(e,n)):null}class Tr{}const Ko=new R("",{providedIn:"root",factory:()=>!1}),ty=new R(""),af=new R("");class LA{}class ny{}class kA{resolveComponentFactory(n){throw function PA(e){const n=Error(`No component factory found for ${$e(e)}.`);return n.ngComponent=e,n}(n)}}class cl{static#e=this.NULL=new kA}class lf{}let tn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function FA(){const e=E(),t=xt(pe().index,e);return(qe(t)?t:e)[U]}()}return e})(),VA=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>null})}return e})();function dl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&u_(e,t,o.join(" "))}}(h,Te,g,i),void 0!==t&&function ZA(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=QA}return e})();function QA(){return uy(pe(),E())}const KA=yn,ly=class extends KA{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return gr(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){const n=Sa(this._hostTNode,this._hostLView);if(zu(n)){const t=Io(n,this._hostLView),i=bo(n);return new We(t[O].data[i+8],t)}return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=cy(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-xe}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Ai(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function go(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new es(ee(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Qt,null);C&&(o=C)}ee(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Ai(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function T0(e){return it(e[He])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[He],c=new ly(l,l[Xe],l[He]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function Ir(e,n,t,i=!0){const r=n[O];if(function WO(e,n,t,i){const r=xe+i,o=t.length;i>0&&(t[r-1][Kt]=n),i!1;class hf{constructor(n){this.queryList=n,this.matches=null}clone(){return new hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class pf{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class gf{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=xe;d(Mc(n),n.value);return t[qt]=n,t}(e),i=t[qt];return n?.equal&&(i.equal=n.equal),t.set=r=>Fp(i,r),t.update=r=>function KI(e,n){Np()||kp(),Fp(e,n(e.value))}(i,r),t.asReadonly=Dy.bind(t),t}function Dy(){const e=this[qt];if(void 0===e.readonlyFn){const n=()=>this();n[qt]=e,e.readonlyFn=n}return e.readonlyFn}function by(e){return function Ey(e){return"function"==typeof e&&void 0!==e[qt]}(e)&&"function"==typeof e.set}function ue(e){let n=function Py(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Xt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new S(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=hl(e.inputs),s.inputTransforms=hl(e.inputTransforms),s.declaredInputs=hl(e.declaredInputs),s.outputs=hl(e.outputs);const a=r.hostBindings;a&&wx(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&yx(e,l),c&&Cx(e,c),vx(e,r),pT(e.outputs,r.outputs),Xt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=po(r.hostAttrs,t=po(t,r.hostAttrs))}}(i)}function vx(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function hl(e){return e===cn?{}:e===ae?[]:e}function yx(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function Cx(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function wx(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Pi{}class Sx{}class wf extends Pi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sy(this);const o=function nt(e,n){const t=e[Cg]||null;if(!t&&!0===n)throw new Error(`Type ${$e(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Rt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=jm(n,t,[{provide:Pi,useValue:this},{provide:cl,useValue:this.componentFactoryResolver},...i],$e(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Ef extends Sx{constructor(n){super(),this.moduleType=n}create(n){return new wf(this.moduleType,n,[])}}function pl(e){return!!Df(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Df(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cn(e,n,t){return e[n]=t}function Re(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ki(e,n,t,i){const r=Re(e,n,t);return Re(e,n+1,i)||r}function is(e,n,t,i,r,o,s,a,l,c){const u=t+P,d=n.firstCreatePass?function Px(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ni(n,e,4,s||null,a||null);Ud(n,t,u,jt(c,l)),Da(n,u);const d=u.tView=jd(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Jt(d,!1);const h=jy(n,e,d,t);Eo()&&Ka(n,e,h,d),ot(h,e);const p=w_(h,e,h,d);return e[u]=p,el(e,p),function fy(e,n,t){return ff(e,n,t)}(p,d,e),va(d)&&Hd(n,e,d),null!=l&&Bd(e,d,c),d}function H(e,n,t,i,r,o,s,a){const l=E(),c=J();return is(l,c,e,n,t,i,r,jt(c.consts,o),s,a),H}let jy=function Uy(e,n,t,i){return gn(!0),n[U].createComment("")};var xr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(xr||{});let Zy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})();class ss{constructor(){this.ngZone=L(ge),this.scheduler=L(Tr),this.errorHandler=L(vn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[xr.EarlyRead,xr.Write,xr.MixedReadWrite,xr.Read];execute(){this.executing=!0;for(const n of ss.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=te({token:ss,providedIn:"root",factory:()=>new ss})}function ht(e,n,t,i){const r=E();return Re(r,en(),n)&&(J(),_n(Ce(),r,e,n,t,i)),ht}function Hr(e,n,t,i){return Re(e,en(),t)?n+Z(t)+i:Y}function wl(e,n){return e<<17|n<<2}function ti(e){return e>>17&32767}function Pf(e){return 2|e}function Vi(e){return(131068&e)>>2}function kf(e,n){return-131069&e|n<<2}function Ff(e){return 1|e}function EC(e,n,t,i){const r=e[t+1],o=null===n;let s=i?ti(r):Vi(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];D1(e[s],n)&&(a=!0,e[s+1]=i?Ff(c):Pf(c)),s=i?ti(c):Vi(c)}a&&(e[t+1]=i?Pf(r):Ff(r))}function D1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&nr(e,n)>=0}const Ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function DC(e){return e.substring(Ze.key,Ze.keyEnd)}function bC(e,n){const t=Ze.textEnd;return t===n?-1:(n=Ze.keyEnd=function T1(e,n,t){for(;n32;)n++;return n}(e,Ze.key=n,t),Wr(e,n,t))}function Wr(e,n,t){for(;n=0;t=bC(n,t))At(e,DC(n),!0)}function nn(e,n,t,i){const r=E(),o=J(),s=xn(2);o.firstUpdatePass&&NC(o,e,s,i),n!==Y&&Re(r,s,n)&&xC(o,o.data[Je()],r,r[U],e,r[s+1]=function H1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=$e(Qn(e)))),e}(n,t),i,s)}function OC(e,n){return n>=e.expandoStartIndex}function NC(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=OC(e,t);LC(o,i)&&null===n&&!s&&(n=!1),n=function x1(e,n,t,i){const r=function Fu(e){const n=$.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=ls(t=Hf(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Hf(r,e,n,t,i),null===o){let l=function R1(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Vi(i))return e[ti(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Hf(null,e,n,l[1],i),l=ls(l,n.attrs,i),function L1(e,n,t,i){e[ti(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function P1(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=ti(e[a+1]);e[i+1]=wl(h,a),0!==h&&(e[h+1]=kf(e[h+1],i)),e[a+1]=function y1(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=wl(a,0),0!==a&&(e[a+1]=kf(e[a+1],i)),a=i;else e[i+1]=wl(l,0),0===a?a=i:e[l+1]=kf(e[l+1],i),l=i;c&&(e[i+1]=Pf(e[i+1])),EC(e,u,i,!0),EC(e,u,i,!1),function E1(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&nr(o,n)>=0&&(t[i+1]=Ff(t[i+1]))}(n,u,e,i,o),s=wl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Hf(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Y&&(h=d?ae:void 0);let p=d?du(h,i):u===i?h:void 0;if(c&&!Dl(p)&&(p=du(l,i)),Dl(p)&&(a=p,s))return a;const g=e[r+1];r=s?ti(g):Vi(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=du(l,i))}return a}function Dl(e){return void 0!==e}function LC(e,n){return!!(e.flags&(n?8:16))}function Dn(e,n,t){!function rn(e,n,t,i){const r=J(),o=xn(2);r.firstUpdatePass&&NC(r,null,o,i);const s=E();if(t!==Y&&Re(s,o,t)){const a=r.data[Je()];if(LC(a,i)&&!OC(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Yc(l,t||"")),Vf(r,a,s,t,i)}else!function V1(e,n,t,i,r,o,s,a){r===Y&&(r=ae);let l=0,c=0,u=0(gn(!0),Ya(i,r,function wm(){return $.lFrame.currentNamespace}()));function ne(e,n,t){const i=E(),r=J(),o=e+P,s=r.firstCreatePass?function uR(e,n,t,i,r){const o=n.consts,s=jt(o,i),a=Ni(n,e,8,"ng-container",s);return null!==s&&dl(a,s,!0),Ud(n,t,a,jt(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Jt(s,!0);const a=BC(r,i,s,e);return i[o]=a,Eo()&&Ka(r,i,a,s),ot(a,i),va(s)&&(Hd(r,i,s),Vd(r,s,i)),null!=t&&Bd(i,s),ne}function ie(){let e=pe();const n=J();return Lu()?Pu():(e=e.parent,Jt(e,!1)),n.firstCreatePass&&(Da(n,e),Iu(e)&&n.queries.elementEnd(e)),ie}let BC=(e,n,t,i)=>(gn(!0),Od(n[U],""));function Ie(){return E()}const Il="en-US";let GC=Il,cw=(e,n,t)=>{};function W(e,n,t,i){const r=E(),o=J(),s=pe();return Gf(o,r,r[U],s,e,n,i),W}function Gf(e,n,t,i,r,o,s){const a=va(i),c=e.firstCreatePass&&b_(e),u=n[ye],d=D_(n);let h=!0;if(3&i.type||s){const C=ct(i,n),D=s?s(C):C,T=d.length,w=s?Q=>s(le(Q[i.index])):i.index;let V=null;if(!s&&a&&(V=function iL(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==V)(V.__ngLastListenerFn__||V).__ngNextListenerFn__=o,V.__ngLastListenerFn__=o,h=!1;else{o=hw(i,n,u,o),cw(C,r,o);const Q=t.listen(D,r,o);d.push(o,Q),c&&c.push(r,w,T,T+1)}}else o=hw(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let D=0;D-1?xt(e.index,n):n,5);let a=fw(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=fw(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function B0(e){return($.lFrame.contextLView=function om(e,n){for(;e>0;)n=n[ar],e--;return n}(e,$.lFrame.contextLView))[ye]}(e)}function Fn(e,n,t){return qf(e,"",n,"",t),Fn}function qf(e,n,t,i,r){const o=E(),s=Hr(o,n,t,i);return s!==Y&&Et(J(),Ce(),o,e,s,o[U],r,!1),qf}function Ew(e,n,t,i){!function _y(e,n,t,i){const r=J();if(r.firstCreatePass){const o=pe();yy(r,new py(n,t,i),o.index),function ax(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return my(r,E(),t)}(e,n,t,i)}function kt(e,n,t){!function vy(e,n,t){const i=J();return i.firstCreatePass&&(yy(i,new py(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),my(i,E(),n)}(e,n,t)}function bt(e){const n=E(),t=J(),i=Vu();Ea(i+1);const r=yf(t,i);if(e.dirty&&function M0(e){return!(4&~e[k])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=Cy(n,i);e.reset(o,Qm),e.notifyOnChanges()}return!0}return!1}function It(){return function _f(e,n){return e[On].queries[n].queryList}(E(),Vu())}function b(e,n=""){const t=E(),i=J(),r=e+P,o=i.firstCreatePass?Ni(i,r,1,n,null):i.data[r],s=xw(i,t,o,n,e);t[r]=s,Eo()&&Ka(i,t,s,o),Jt(o,!1)}let xw=(e,n,t,i,r)=>(gn(!0),function Sd(e,n){return e.createText(n)}(n[U],i));function A(e){return K("",e,""),A}function K(e,n,t){const i=E(),r=Hr(i,e,n,t);return r!==Y&&function Ln(e,n,t){const i=yo(n,e);!function Kv(e,n,t){e.setValue(n,t)}(e[U],i,t)}(i,Je(),r),K}function tt(e,n,t){by(n)&&(n=n());const i=E();return Re(i,en(),n)&&Et(J(),Ce(),i,e,n,i[U],t,!1),tt}function Ne(e,n){const t=by(e);return t&&e.set(n),t}function st(e,n){const t=E(),i=J(),r=pe();return Gf(i,t,t[U],r,e,n),st}function Zf(e,n,t,i,r){if(e=j(e),Array.isArray(e))for(let o=0;o>20;if(_i(e)||!e.multi){const p=new Do(c,r,M),g=Qf(l,n,r?u:u+h,d);-1===g?(Wu(Ta(a,s),o,l),Yf(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Qf(l,n,u+h,d),g=Qf(l,n,u,u+h),D=g>=0&&t[g];if(r&&!D||!r&&!(p>=0&&t[p])){Wu(Ta(a,s),o,l);const T=function SL(e,n,t,i,r){const o=new Do(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,$w(o,r,i&&!t),o}(r?TL:ML,t.length,r,i,c);!r&&D&&(t[g].providerFactory=T),Yf(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else Yf(o,e,p>-1?p:g,$w(t[r?g:p],c,!r&&i));!r&&i&&D&&t[g].componentProviders++}}}function Yf(e,n,t,i){const r=_i(n),o=function t0(e){return!!e.useClass}(n);if(r||o){const l=(o?j(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function $w(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Qf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function IL(e,n,t){const i=J();if(i.firstCreatePass){const r=Xt(e);Zf(t,i.data,i.blueprint,r,!0),Zf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function ps(e,n,t,i){return function qw(e,n,t,i,r,o){const s=n+t;return Re(e,s,r)?Cn(e,s+1,o?i.call(o,r):i(r)):gs(e,s+1)}(E(),ut(),e,n,t,i)}function Xf(e,n,t,i,r){return function Ww(e,n,t,i,r,o,s){const a=n+t;return ki(e,a,r,o)?Cn(e,a+2,s?i.call(s,r,o):i(r,o)):gs(e,a+2)}(E(),ut(),e,n,t,i,r)}function Ye(e,n,t,i,r,o){return Zw(E(),ut(),e,n,t,i,r,o)}function gs(e,n){const t=e[n];return t===Y?void 0:t}function Zw(e,n,t,i,r,o,s,a){const l=n+t;return function gl(e,n,t,i,r){const o=ki(e,n,t,i);return Re(e,n+2,r)||o}(e,l,r,o,s)?Cn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):gs(e,l+3)}function Xw(e,n,t,i,r){const o=e+P,s=E(),a=function wi(e,n){return e[n]}(s,o);return function ms(e,n){return e[O].data[n].pure}(s,o)?Zw(s,ut(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const _E=new R(""),Ll=new R("");let sh,rh=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,sh||(function BP(e){sh=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(ge),oe(oh),oe(Ll))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),oh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return sh?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Pl(e){return!!e&&"function"==typeof e.then}function yE(e){return!!e&&"function"==typeof e.subscribe}const jP=new R("");let CE=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=L(jP,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Pl(o))t.push(o);else if(yE(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ah=new R("");function EE(e,n){return Array.isArray(n)?n.reduce(EE,e):{...e,...n}}let Vn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=L(DS),this.afterRenderManager=L(Zy),this.zonelessEnabled=L(Ko),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ln,this.afterTick=new ln,this.componentTypes=[],this.components=[],this.isStable=L(pr).hasPendingTasks.pipe(Bc(t=>!t)),this._injector=L(Qt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof ny;if(!this._injector.get(CE).done)throw!r&&function vi(e){const n=ee(e)||ze(e)||Ke(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=r?t:this._injector.get(cl).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function UP(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Pi),c=s.create(et.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(_E,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),kl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new S(101,!1);const t=X(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,X(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(lf,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)GP(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>_a(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;kl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(ah,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>kl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function GP(e,n,t,i){(t||_a(e))&&nl(e,n,t&&!i?0:1)}let YP=(()=>{class e{constructor(){this.zone=L(ge),this.changeDetectionScheduler=L(Tr),this.applicationRef=L(Vn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lh({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new ge({...ch(),scheduleInRootZone:t}),[{provide:ge,useFactory:e},{provide:un,multi:!0,useFactory:()=>{const i=L(YP,{optional:!0});return()=>i.initialize()}},{provide:un,multi:!0,useFactory:()=>{const i=L(KP);return()=>{i.initialize()}}},!0===n?{provide:ty,useValue:!0}:[],{provide:af,useValue:t??$m}]}function ch(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let KP=(()=>{class e{constructor(){this.subscription=new Tt,this.initialized=!1,this.zone=L(ge),this.pendingTasks=L(pr)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ge.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ys=(()=>{class e{constructor(){this.appRef=L(Vn),this.taskService=L(pr),this.ngZone=L(ge),this.zonelessEnabled=L(Ko),this.disableScheduling=L(ty,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Tt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ra):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(L(af,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof ed||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?Gm:zm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ra+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Gm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ni=new R("",{providedIn:"root",factory:()=>L(ni,re.Optional|re.SkipSelf)||function XP(){return typeof $localize<"u"&&$localize.locale||Il}()}),dh=new R("");function Vl(e){return!!e.platformInjector}let OE=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[lh({ngZoneFactory:()=>function ES(e="zone.js",n){return"noop"===e?new ed:"zone.js"===e?new ge(n):e}(i?.ngZone,{...ch({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Tr,useExisting:ys}],l=function Nx(e,n,t){return new wf(e,n,t,!1)}(t.moduleType,this.injector,a);return function SE(e){const n=Vl(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ge);return t.run(()=>{Vl(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(vn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),Vl(e)){const o=()=>n.destroy(),s=e.platformInjector.get(dh);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{kl(e.allPlatformModules,e.moduleRef),r.unsubscribe()});return function zP(e,n,t){try{const i=t();return Pl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(CE);return o.runInitializers(),o.donePromise.then(()=>{if(function yR(e){"string"==typeof e&&(GC=e.toLowerCase().replace(/_/g,"-"))}(n.get(ni,Il)||Il),Vl(e)){const a=n.get(Vn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function rk(e,n){const t=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new S(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules})}bootstrapModule(t,i=[]){const r=EE({},i);return function ZP(e,n,t){const i=new Ef(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(dh,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(et))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ii=null;const NE=new R("");function AE(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=fh();if(!s||s.injector.get(NE,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function ok(e){if(ii&&!ii.get(NE,!1))throw new S(400,!1);(function wE(){!function YI(e){Pp=e}(()=>{throw new S(600,!1)})})(),ii=e;const n=e.get(OE);(function RE(e){e.get(mv,null)?.forEach(t=>t())})(e)}(function xE(e=[],n){return et.create({name:n,providers:[{provide:_u,useValue:"platform"},{provide:dh,useValue:new Set([()=>ii=null])},...e]})}(a,i))}return function sk(){const n=fh();if(!n)throw new S(401,!1);return n}()}}function fh(){return ii?.get(OE)??null}let Bi=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=lk}return e})();function lk(e){return function ck(e,n,t){if(Ci(e)&&!t){const i=xt(e.index,n);return new $o(i,i)}return 175&e.type?new $o(n[Oe],n):null}(pe(),E(),!(16&~e))}class VE{constructor(){}supports(n){return pl(n)}create(n){return new pk(n)}}const hk=(e,n)=>n;class pk{constructor(n){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=n||hk}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new gk(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new HE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new HE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class gk{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mk{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class HE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new mk,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function BE(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new _k(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class _k{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function UE(){return new vh([new VE])}let vh=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:UE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||UE()),deps:[[e,new cu,new lu]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new S(901,!1)}}return e})();function $E(){return new jl([new jE])}let jl=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:$E});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||$E()),deps:[[e,new cu,new lu]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new S(901,!1)}}return e})();const wk=AE(null,"core",[]);let Ek=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Vn))};static#t=this.\u0275mod=Wn({type:e});static#n=this.\u0275inj=Tn({})}return e})();const oD=new R("");function Ds(e,n){ft("NgSignals");const t=function qI(e){const n=Object.create(WI);n.computation=e;const t=()=>{if(Sp(n),Mc(n),n.value===Us)throw n.error;return n.value};return t[qt]=n,t}(e);return n?.equal&&(t[qt].equal=n.equal),t}function bn(e){const n=X(null);try{return e()}finally{X(n)}}let gD=null;function bs(){return gD}class sF{}const ri=new R(""),Ah=/\s+/,bD=[];let Xr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=bD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Ah):bD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Ah):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(Ah).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(M(dt),M(tn))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class ZF{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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}}let Ui=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new ZF(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),MD(a,r)}});for(let r=0,o=i.length;r{MD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(yn),M(Pn),M(vh))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function MD(e,n){e.context.$implicit=n.item}let jn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new YF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){TD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){TD("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(M(yn),M(Pn))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class YF{constructor(){this.$implicit=null,this.ngIf=null}}function TD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${$e(n)}'.`)}let OD=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Xn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(M(dt),M(jl),M(tn))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),ND=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(M(yn))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[hn]})}return e})();let xD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function sn(e,n){return new S(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=Ct({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),RD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Wn({type:e});static#n=this.\u0275inj=Tn({})}return e})();function PD(e){return"server"===e}class K2 extends sF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Hh extends K2{static makeCurrent(){!function oF(e){gD??=e}(new Hh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function X2(){return Ss=Ss||document.querySelector("base"),Ss?Ss.getAttribute("href"):null}();return null==t?null:function J2(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ss=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function qF(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let Ss=null,tV=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const lc=new R("");let GD=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new S(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(lc),oe(ge))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class Bh{constructor(n){this._doc=n}}const jh="ng-app-id";let qD=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=PD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${jh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(jh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(jh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(ri),oe(vr),oe(vv,8),oe(Mi))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const Uh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},$h=/%COMP%/g,oV=new R("",{providedIn:"root",factory:()=>!0});function ZD(e,n){return n.map(t=>t.replace($h,e))}let YD=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=PD(a),this.defaultRenderer=new zh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wt.ShadowDom&&(i={...i,encapsulation:Wt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof KD?r.applyToHost(t):r instanceof Gh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Wt.Emulated:o=new KD(l,c,i,this.appId,u,s,a,d);break;case Wt.ShadowDom:return new cV(l,c,t,i,s,a,this.nonce,d);default:o=new Gh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(GD),oe(qD),oe(vr),oe(oV),oe(ri),oe(Mi),oe(ge),oe(vv))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class zh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Uh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(QD(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(QD(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new S(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Uh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Uh[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Xn.DashCase|Xn.Important)?n.style.setProperty(t,i,r&Xn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Xn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=bs().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function QD(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class cV extends zh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ZD(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gh extends zh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?ZD(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class KD extends Gh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function sV(e){return"_ngcontent-%COMP%".replace($h,e)}(c),this.hostAttr=function aV(e){return"_nghost-%COMP%".replace($h,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let uV=(()=>{class e extends Bh{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(ri))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),dV=(()=>{class e extends Bh{constructor(t){super(t),this.delegate=L(oD,{optional:!0})}supports(t){return!!this.delegate&&this.delegate.supports(t)}addEventListener(t,i,r){return this.delegate.addEventListener(t,i,r)}removeEventListener(t,i,r){return this.delegate.removeEventListener(t,i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(ri))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const XD=["alt","control","meta","shift"],fV={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},hV={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let pV=(()=>{class e extends Bh{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bs().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),XD.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=fV[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),XD.forEach(s=>{s!==r&&(0,hV[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(ri))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const _V=AE(wk,"browser",[{provide:Mi,useValue:"browser"},{provide:mv,useValue:function gV(){Hh.makeCurrent()},multi:!0},{provide:ri,useFactory:function vV(){return function GS(e){sd=e}(document),document},deps:[]}]),yV=new R(""),tb=[{provide:Ll,useClass:class eV{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new S(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?bs().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:_E,useClass:rh,deps:[ge,oh,Ll]},{provide:rh,useClass:rh,deps:[ge,oh,Ll]}],nb=[{provide:_u,useValue:"root"},{provide:vn,useFactory:function mV(){return new vn},deps:[]},{provide:lc,useClass:uV,multi:!0,deps:[ri,ge,Mi]},{provide:lc,useClass:pV,multi:!0,deps:[ri]},{provide:lc,useClass:dV,multi:!0},YD,qD,GD,{provide:lf,useExisting:YD},{provide:class D2{},useClass:tV,deps:[]},[]];let CV=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:vr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(yV,12))};static#t=this.\u0275mod=Wn({type:e});static#n=this.\u0275inj=Tn({providers:[...nb,...tb],imports:[RD,Ek]})}return e})();function oi(e){return this instanceof oi?(this.v=e,this):new oi(e)}function lb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Yh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const cb=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ub(e){return Fe(e?.then)}function db(e){return Fe(e[Vc])}function fb(e){return Symbol.asyncIterator&&Fe(e?.[Symbol.asyncIterator])}function hb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const pb=function GV(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function gb(e){return Fe(e?.[pb])}function mb(e){return function ab(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(D,T){o.push([p,C,D,T])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof oi?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield oi(t.read());if(r)return yield oi(void 0);yield yield oi(i)}}finally{t.releaseLock()}})}function vb(e){return Fe(e?.getReader)}function Os(e){if(e instanceof St)return e;if(null!=e){if(db(e))return function qV(e){return new St(n=>{const t=e[Vc]();if(Fe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(cb(e))return function WV(e){return new St(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,$p)})}(e);if(fb(e))return _b(e);if(gb(e))return function YV(e){return new St(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(vb(e))return function QV(e){return _b(mb(e))}(e)}throw hb(e)}function _b(e){return new St(n=>{(function KV(e,n){var t,i,r,o;return function ob(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=lb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function zi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function yb(e,n=0){return pi((t,i)=>{t.subscribe(Un(i,r=>zi(i,e,()=>i.next(r),n),()=>zi(i,e,()=>i.complete(),n),r=>zi(i,e,()=>i.error(r),n)))})}function Cb(e,n=0){return pi((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function wb(e,n){if(!e)throw new Error("Iterable cannot be null");return new St(t=>{zi(t,n,()=>{const i=e[Symbol.asyncIterator]();zi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:oH}=Array,{getPrototypeOf:sH,prototype:aH,keys:lH}=Object;const{isArray:fH}=Array;function gH(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function mH(...e){const n=function dH(e){return Fe(function Qh(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function cH(e){if(1===e.length){const n=e[0];if(oH(n))return{args:n,keys:null};if(function uH(e){return e&&"object"==typeof e&&sH(e)===aH}(n)){const t=lH(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new St(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?gH(i,a):a),o.complete())}))}});return n?r.pipe(function pH(e){return Bc(n=>function hH(e,n){return fH(n)?e(...n):e(n)}(e,n))}(n)):r}let Eb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(tn),M(dt))};static#t=this.\u0275dir=z({type:e})}return e})(),Gi=(()=>{class e extends Eb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=rt(e)))(r||e)}})();static#t=this.\u0275dir=z({type:e,features:[ue]})}return e})();const an=new R(""),vH={provide:an,useExisting:me(()=>Kh),multi:!0};let Kh=(()=>{class e extends Gi{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=rt(e)))(r||e)}})();static#t=this.\u0275dir=z({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&W("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Me([vH]),ue]})}return e})();const _H={provide:an,useExisting:me(()=>Ns),multi:!0},CH=new R("");let Ns=(()=>{class e extends Eb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function yH(){const e=bs()?bs().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(tn),M(dt),M(CH,8))};static#t=this.\u0275dir=z({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&W("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Me([_H]),ue]})}return e})();const at=new R(""),ai=new R("");function xb(e){return null!=e}function Rb(e){return Pl(e)?function rH(e,n){return n?function iH(e,n){if(null!=e){if(db(e))return function XV(e,n){return Os(e).pipe(Cb(n),yb(n))}(e,n);if(cb(e))return function eH(e,n){return new St(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(ub(e))return function JV(e,n){return Os(e).pipe(Cb(n),yb(n))}(e,n);if(fb(e))return wb(e,n);if(gb(e))return function tH(e,n){return new St(t=>{let i;return zi(t,n,()=>{i=e[pb](),zi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Fe(i?.return)&&i.return()})}(e,n);if(vb(e))return function nH(e,n){return wb(mb(e),n)}(e,n)}throw hb(e)}(e,n):Os(e)}(e):e}function Lb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Pb(e,n){return n.map(t=>t(e))}function kb(e){return e.map(n=>function EH(e){return!e.validate}(n)?n:t=>n.validate(t))}function Xh(e){return null!=e?function Fb(e){if(!e)return null;const n=e.filter(xb);return 0==n.length?null:function(t){return Lb(Pb(t,n))}}(kb(e)):null}function Jh(e){return null!=e?function Vb(e){if(!e)return null;const n=e.filter(xb);return 0==n.length?null:function(t){return mH(Pb(t,n).map(Rb)).pipe(Bc(Lb))}}(kb(e)):null}function Hb(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function ep(e){return e?Array.isArray(e)?e:[e]:[]}function dc(e,n){return Array.isArray(e)?e.includes(n):e===n}function Ub(e,n){const t=ep(n);return ep(e).forEach(r=>{dc(t,r)||t.push(r)}),t}function $b(e,n){return ep(n).filter(t=>!dc(e,t))}class zb{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Xh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Jh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class vt extends zb{get formDirective(){return null}get path(){return null}}class li extends zb{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gb{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let fc=(()=>{class e extends Gb{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(M(li,2))};static#t=this.\u0275dir=z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&kn("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ue]})}return e})();const As="VALID",pc="INVALID",eo="PENDING",xs="DISABLED";class to{}class Wb extends to{constructor(n,t){super(),this.value=n,this.source=t}}class ip extends to{constructor(n,t){super(),this.pristine=n,this.source=t}}class rp extends to{constructor(n,t){super(),this.touched=n,this.source=t}}class gc extends to{constructor(n,t){super(),this.status=n,this.source=t}}function mc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ap{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Ds(()=>this.statusReactive()),this.statusReactive=Sr(void 0),this._pristine=Ds(()=>this.pristineReactive()),this.pristineReactive=Sr(!0),this._touched=Ds(()=>this.touchedReactive()),this.touchedReactive=Sr(!1),this._events=new ln,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return bn(this.statusReactive)}set status(n){bn(()=>this.statusReactive.set(n))}get valid(){return this.status===As}get invalid(){return this.status===pc}get pending(){return this.status==eo}get disabled(){return this.status===xs}get enabled(){return this.status!==xs}get pristine(){return bn(this.pristineReactive)}set pristine(n){bn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return bn(this.touchedReactive)}set touched(n){bn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Ub(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ub(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators($b(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators($b(n,this._rawAsyncValidators))}hasValidator(n){return dc(this._rawValidators,n)}hasAsyncValidator(n){return dc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new rp(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new rp(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new ip(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new ip(!0,i))}markAsPending(n={}){this.status=eo;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new gc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xs,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Wb(this.value,i)),this._events.next(new gc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=As,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===As||this.status===eo)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Wb(this.value,t)),this._events.next(new gc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xs:As}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=eo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Rb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new gc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new we,this.statusChanges=new we}_calculateStatus(){return this._allControlsDisabled()?xs:this.errors?pc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(eo)?eo:this._anyControlsHaveStatus(pc)?pc:As}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new ip(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new rp(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){mc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function NH(e){return Array.isArray(e)?Xh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function AH(e){return Array.isArray(e)?Jh(e):e||null}(this._rawAsyncValidators)}}const no=new R("CallSetDisabledState",{providedIn:"root",factory:()=>vc}),vc="always";function Rs(e,n,t=vc){(function cp(e,n){const t=function Bb(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(Hb(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function jb(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(Hb(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Cc(n._rawValidators,r),Cc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function LH(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Qb(e,n)})}(e,n),function kH(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function PH(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Qb(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function RH(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Cc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Qb(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Jb(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function eI(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const tI=class extends ap{constructor(n=null,t,i){super(function op(e){return(mc(e)?e.validators:e)||null}(t),function sp(e,n){return(mc(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=eI(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Jb(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Jb(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){eI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},zH={provide:li,useExisting:me(()=>Ps)},rI=Promise.resolve();let Ps=(()=>{class e extends li{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new tI,this._registered=!1,this.name="",this.update=new we,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function fp(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Ns?t=o:function HH(e){return Object.getPrototypeOf(e.constructor)===Gi}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function dp(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Rs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){rI.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function wh(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);rI.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function _c(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(M(vt,9),M(at,10),M(ai,10),M(an,10),M(Bi,8),M(no,8))};static#t=this.\u0275dir=z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Me([zH]),ue,hn]})}return e})();const YH={provide:an,useExisting:me(()=>pp),multi:!0};let pp=(()=>{class e extends Gi{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=rt(e)))(r||e)}})();static#t=this.\u0275dir=z({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&W("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Me([YH]),ue]})}return e})();const tB={provide:an,useExisting:me(()=>ks),multi:!0};function dI(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ks=(()=>{class e extends Gi{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=dI(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function nB(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=rt(e)))(r||e)}})();static#t=this.\u0275dir=z({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&W("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Me([tB]),ue]})}return e})(),_p=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(dI(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(M(dt),M(tn),M(ks,9))};static#t=this.\u0275dir=z({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const iB={provide:an,useExisting:me(()=>yp),multi:!0};function fI(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let yp=(()=>{class e extends Gi{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=rt(e)))(r||e)}})();static#t=this.\u0275dir=z({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&W("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Me([iB]),ue]})}return e})(),Cp=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(fI(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(fI(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(M(dt),M(tn),M(yp,9))};static#t=this.\u0275dir=z({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),hB=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Wn({type:e});static#n=this.\u0275inj=Tn({})}return e})(),gB=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:no,useValue:t.callSetDisabledState??vc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Wn({type:e});static#n=this.\u0275inj=Tn({imports:[hB]})}return e})();class mB extends Tt{constructor(n,t){super()}schedule(n,t=0){return this}}const Ec={setInterval(e,n,...t){const{delegate:i}=Ec;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Ec;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},EI={now:()=>(EI.delegate||Date).now(),delegate:void 0};class Fs{constructor(n,t=Fs.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Fs.now=EI.now;const DI=new class _B extends Fs{constructor(n,t=Fs.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class vB extends mB{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return Ec.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Ec.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,zs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),yB=DI;function bI(e,n=DI,t){const i=function DB(e=0,n,t=yB){let i=-1;return null!=n&&(function wB(e){return e&&Fe(e.schedule)}(n)?t=n:i=n),new St(r=>{let o=function EB(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function CB(e,n){return pi((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Os(e(g)).subscribe(Un(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Un(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function II(e,n,t){const i=Fe(e)||n||t?{next:e,error:n,complete:t}:e;return i?pi((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Un(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Hc}function MI(e,n=Hc){return e=e??bB,pi((t,i)=>{let r,o=!0;t.subscribe(Un(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function bB(e,n){return e===n}var Vt=typeof window<"u"?window:{screen:{},navigator:{}},io=(Vt.matchMedia||function(){return{matches:!1}}).bind(Vt),TI=!1,SI=function(){};Vt.addEventListener&&Vt.addEventListener("p",SI,{get passive(){return TI=!0}}),Vt.removeEventListener&&Vt.removeEventListener("p",SI,!1);var OI=TI,Ep="ontouchstart"in Vt,AI=(Ep||"TouchEvent"in Vt&&io("(any-pointer: coarse)"),Vt.navigator.userAgent||"");io("(pointer: coarse)").matches&&/iPad|Macintosh/.test(AI)&&Math.min(Vt.screen.width||0,Vt.screen.height||0);(io("(pointer: coarse)").matches||!io("(pointer: fine)").matches&&Ep)&&/Windows.*Firefox/.test(AI),io("(any-pointer: fine)").matches||io("(any-hover: hover)");const AB=(e,n,t)=>({tooltip:e,placement:n,content:t});function xB(e,n){}function RB(e,n){1&e&&H(0,xB,0,0,"ng-template")}function LB(e,n){if(1&e&&(ne(0),H(1,RB,1,0,null,1),ie()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",Ye(2,AB,t.tooltip,t.placement,t.content))}}function PB(e,n){if(1&e&&(ne(0),y(1,"div",2),b(2),_(),ie()),2&e){const t=v();f(),ht("title",t.tooltip)("data-tooltip-placement",t.placement),f(),K(" ",t.content," ")}}const kB=["tooltipTemplate"],FB=["leftOuterSelectionBar"],VB=["rightOuterSelectionBar"],HB=["fullBar"],BB=["selectionBar"],jB=["minHandle"],UB=["maxHandle"],$B=["floorLabel"],zB=["ceilLabel"],GB=["minHandleLabel"],qB=["maxHandleLabel"],WB=["combinedLabel"],ZB=["ticksElement"],YB=e=>({"ngx-slider-selected":e});function QB(e,n){if(1&e&&N(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function KB(e,n){1&e&&N(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function XB(e,n){1&e&&N(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,jv)}function JB(e,n){if(1&e&&(y(0,"span",27),N(1,"ngx-slider-tooltip-wrapper",28),H(2,QB,1,4,"ngx-slider-tooltip-wrapper",29)(3,KB,1,1,"span",30)(4,XB,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",ps(8,YB,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var In=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(In||{});class Dc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const LI=new R("AllowUnsafeHtmlInSlider");var x=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(x||{});class ej{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?II(()=>{}):bI(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new PI;return o.eventName=t,o.events=new ln,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?II(()=>{}):bI(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let ui=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new kI(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(M(dt),M(tn),M(Bi))};static \u0275dir=z({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&El("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),Dp=(()=>{class e extends ui{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(M(dt),M(tn),M(Bi))};static \u0275dir=z({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ht("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),kn("ngx-slider-active",r.active))},features:[ue]})}return e})(),ro=(()=>{class e extends ui{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(M(dt),M(tn),M(Bi),M(LI,8))};static \u0275dir=z({type:e,selectors:[["","ngxSliderLabel",""]],features:[ue]})}return e})(),tj=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Yt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&H(0,LB,2,6,"ng-container",0)(1,PB,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[jn,ND],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class nj{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class FI{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class bc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class VI extends bc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const ij={provide:an,useExisting:me(()=>HI),multi:!0};let HI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new we;highValue=null;highValueChange=new we;options=new Dc;userChangeStart=new we;userChange=new we;userChangeEnd=new we;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new ln;inputModelChangeSubscription=null;outputModelChangeSubject=new ln;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new Dc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new FI;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new kI(this.renderer)}ngOnInit(){this.viewOptions=new Dc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(MI(VI.compare),function IB(e,n){return pi((t,i)=>{let r=0;t.subscribe(Un(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(MI(VI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){ci.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){ci.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===x.Min?this.minHandleElement:t===x.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===x.Min?this.viewLowValue:this.currentTrackingPointer===x.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!bc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new bc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);bc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new Dc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==x.Min&&t!==x.Max&&(t=x.Min),t===x.Min?this.minHandleElement.focus():this.range&&t===x.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,In.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,In.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new nj;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,In.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,In.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,In.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===x.Min?this.updateLowHandle(i):t===x.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===x.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===x.Min||!this.viewOptions.rightToLeft&&t===x.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,In.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(x.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(x.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,In.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(x.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(x.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===x.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,In.Low),r=this.getDisplayValue(this.viewHighValue,In.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?x.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?x.Min:x.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(x.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(x.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(x.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(x.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(x.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(x.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(x.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(x.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(x.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(x.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!ci.isTouchEvent(i)&&!OI&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=ci.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=ci.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),ci.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(ci.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){ci.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===x.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===x.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(x.Min,this.valueToPosition(t)),this.updateHandles(x.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===x.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===x.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(x.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=x.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===x.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===x.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===x.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===x.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===x.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===x.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(x.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===x.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(x.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new ej;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(M(tn),M(dt),M(Bi),M(ge),M(LI,8))};static \u0275cmp=Yt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&Ew(o,kB,5),2&i){let s;bt(s=It())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(kt(FB,5,ui),kt(VB,5,ui),kt(HB,5,ui),kt(BB,5,ui),kt(jB,5,Dp),kt(UB,5,Dp),kt($B,5,ro),kt(zB,5,ro),kt(GB,5,ro),kt(qB,5,ro),kt(WB,5,ro),kt(ZB,5,ui)),2&i){let o;bt(o=It())&&(r.leftOuterSelectionBarElement=o.first),bt(o=It())&&(r.rightOuterSelectionBarElement=o.first),bt(o=It())&&(r.fullBarElement=o.first),bt(o=It())&&(r.selectionBarElement=o.first),bt(o=It())&&(r.minHandleElement=o.first),bt(o=It())&&(r.maxHandleElement=o.first),bt(o=It())&&(r.floorLabelElement=o.first),bt(o=It())&&(r.ceilLabelElement=o.first),bt(o=It())&&(r.minHandleLabelElement=o.first),bt(o=It())&&(r.maxHandleLabelElement=o.first),bt(o=It())&&(r.combinedLabelElement=o.first),bt(o=It())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&W("resize",function(s){return r.onResize(s)},0,Za),2&i&&(ht("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),kn("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Me([ij]),hn],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),N(2,"span",13),_(),y(3,"span",14,1),N(5,"span",13),_(),y(6,"span",15,2),N(8,"span",13),_(),y(9,"span",16,3),N(11,"span",17),_(),N(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),H(28,JB,5,10,"span",26),_()),2&i&&(f(6),kn("ngx-slider-transparent",r.fullBarTransparentClass),f(3),kn("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),El("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),kn("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Xr,Ui,jn,OD,ui,Dp,ro,tj],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),rj=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Wn({type:e});static \u0275inj=Tn({imports:[RD]})}return e})();class BI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class oj{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class sj{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class Gt{static roundNumber(n){return Math.floor(n*Math.pow(10,Gt.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,Gt.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new sj(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:Gt.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function aj(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),lj=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Yt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&i&&(f(),Fn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function cj(e,n){if(1&e){const t=Ie();y(0,"div",3)(1,"label")(2,"input",4),st("ngModelChange",function(r){G(t);const o=v();return Ne(o.showBranchCoverage,r)||(o.showBranchCoverage=r),q(r)}),W("change",function(){G(t);const r=v();return q(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),tt("ngModel",t.showBranchCoverage),f(),K(" ",t.translations.branchCoverage,"")}}function uj(e,n){1&e&&N(0,"pro-button",9),2&e&&m("translations",v().translations)}function dj(e,n){1&e&&N(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function fj(e,n){1&e&&(y(0,"a",13),N(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Kn)}function hj(e,n){if(1&e){const t=Ie();y(0,"div",3)(1,"label")(2,"input",11),W("change",function(){const r=G(t).$implicit;return q(v(2).toggleMetric(r))}),_(),b(3),_(),b(4,"\xa0"),H(5,fj,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),K(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function pj(e,n){if(1&e&&(ne(0),N(1,"br")(2,"br"),y(3,"b"),b(4),_(),H(5,dj,1,1,"pro-button",7)(6,hj,6,4,"div",10),ie()),2&e){const t=v();f(4),A(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let gj=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new we,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new we,this.showBranchCoverage=!1,this.showBranchCoverageChange=new we,this.showMethodCoverage=!1,this.showMethodCoverageChange=new we,this.visibleMetrics=[],this.visibleMetricsChange=new we}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Yt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),W("click",function(){return r.close()}),y(1,"div",1),W("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),W("click",function(){return r.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),st("ngModelChange",function(s){return Ne(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),W("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),b(9),_()(),H(10,cj,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),st("ngModelChange",function(s){return Ne(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),W("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),b(14),_(),H(15,uj,1,1,"pro-button",7),_(),H(16,pj,7,3,"ng-container",8),_()()),2&i&&(f(5),A(r.translations.coverageTypes),f(3),tt("ngModel",r.showLineCoverage),f(),K(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),tt("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),K(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Ui,jn,Kh,fc,Ps,lj],encapsulation:2})}return e})();function mj(e,n){1&e&&N(0,"td",3)}function vj(e,n){1&e&&N(0,"td"),2&e&&Dn("green ",v().greenClass,"")}function _j(e,n){1&e&&N(0,"td"),2&e&&Dn("red ",v().redClass,"")}let UI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Yt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),H(1,mj,1,0,"td",1)(2,vj,1,3,"td",2)(3,_j,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[jn],encapsulation:2,changeDetection:0})}return e})();const yj=["codeelement-row",""],Cj=(e,n)=>({"icon-plus":e,"icon-minus":n});function wj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.coveredLines)}}function Ej(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.uncoveredLines)}}function Dj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.coverableLines)}}function bj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.totalLines)}}function Ij(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),A(t.element.coveragePercentage)}}function Mj(e,n){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function Tj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.coveredBranches)}}function Sj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.totalBranches)}}function Oj(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),A(t.element.branchCoveragePercentage)}}function Nj(e,n){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function Aj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.coveredMethods)}}function xj(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(),A(t.element.totalMethods)}}function Rj(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),A(t.element.methodCoveragePercentage)}}function Lj(e,n){if(1&e&&(y(0,"th",5),N(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function Pj(e,n){1&e&&N(0,"th",5)}let kj=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Yt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:yj,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),W("click",function(s){return r.element.toggleCollapse(s)}),N(2,"i",1),b(3),_()(),H(4,wj,2,1,"th",2)(5,Ej,2,1,"th",2)(6,Dj,2,1,"th",2)(7,bj,2,1,"th",2)(8,Ij,2,2,"th",3)(9,Mj,2,1,"th",2)(10,Tj,2,1,"th",2)(11,Sj,2,1,"th",2)(12,Oj,2,2,"th",3)(13,Nj,2,1,"th",2)(14,Aj,2,1,"th",2)(15,xj,2,1,"th",2)(16,Rj,2,2,"th",3)(17,Lj,2,1,"th",2)(18,Pj,1,0,"th",4)),2&i&&(f(2),m("ngClass",Xf(17,Cj,r.element.collapsed,!r.element.collapsed)),f(),K(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Xr,Ui,jn,UI],encapsulation:2,changeDetection:0})}return e})();const Fj=["coverage-history-chart",""];let Vj=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function Bj(e,n){if(1&e&&(y(0,"a",5),b(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Kn),f(),A(t.clazz.name)}}function jj(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v();f(),A(t.clazz.name)}}function Uj(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),K(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),K(" ",t.clazz.currentHistoricCoverage.cl," ")}}function $j(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.coveredLines," ")}}function zj(e,n){if(1&e&&(y(0,"td",6),H(1,Uj,5,6,"ng-container",1)(2,$j,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function Gj(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),K(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),K(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function qj(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.uncoveredLines," ")}}function Wj(e,n){if(1&e&&(y(0,"td",6),H(1,Gj,5,6,"ng-container",1)(2,qj,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function Zj(e,n){if(1&e&&(ne(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(2),A(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.cal)}}function Yj(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.coverableLines," ")}}function Qj(e,n){if(1&e&&(y(0,"td",6),H(1,Zj,5,3,"ng-container",1)(2,Yj,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function Kj(e,n){if(1&e&&(ne(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(2),A(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tl)}}function Xj(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.totalLines," ")}}function Jj(e,n){if(1&e&&(y(0,"td",6),H(1,Kj,5,3,"ng-container",1)(2,Xj,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function eU(e,n){if(1&e&&N(0,"div",11),2&e){const t=v(2);Fn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",ps(3,Mp,null!==t.clazz.currentHistoricCoverage))}}function tU(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),K(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),K("",t.clazz.currentHistoricCoverage.lcq,"%")}}function nU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.coveragePercentage," ")}}function iU(e,n){if(1&e&&(y(0,"td",9),H(1,eU,1,5,"div",10)(2,tU,5,6,"ng-container",1)(3,nU,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function rU(e,n){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function oU(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),K(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),K(" ",t.clazz.currentHistoricCoverage.cb," ")}}function sU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.coveredBranches," ")}}function aU(e,n){if(1&e&&(y(0,"td",6),H(1,oU,5,6,"ng-container",1)(2,sU,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function lU(e,n){if(1&e&&(ne(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(2),A(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tb)}}function cU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.totalBranches," ")}}function uU(e,n){if(1&e&&(y(0,"td",6),H(1,lU,5,3,"ng-container",1)(2,cU,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function dU(e,n){if(1&e&&N(0,"div",14),2&e){const t=v(2);Fn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",ps(3,Mp,null!==t.clazz.currentHistoricCoverage))}}function fU(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),K(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),K("",t.clazz.currentHistoricCoverage.bcq,"%")}}function hU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.branchCoveragePercentage," ")}}function pU(e,n){if(1&e&&(y(0,"td",9),H(1,dU,1,5,"div",13)(2,fU,5,6,"ng-container",1)(3,hU,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function gU(e,n){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function mU(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),K(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),K(" ",t.clazz.currentHistoricCoverage.cm," ")}}function vU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.coveredMethods," ")}}function _U(e,n){if(1&e&&(y(0,"td",6),H(1,mU,5,6,"ng-container",1)(2,vU,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function yU(e,n){if(1&e&&(ne(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(2),A(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),A(t.clazz.currentHistoricCoverage.tm)}}function CU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.totalMethods," ")}}function wU(e,n){if(1&e&&(y(0,"td",6),H(1,yU,5,3,"ng-container",1)(2,CU,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function EU(e,n){if(1&e&&N(0,"div",16),2&e){const t=v(2);Fn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",ps(3,Mp,null!==t.clazz.currentHistoricCoverage))}}function DU(e,n){if(1&e&&(ne(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),ie()),2&e){const t=v(2);f(),Dn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),K(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),K("",t.clazz.currentHistoricCoverage.mcq,"%")}}function bU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),K(" ",t.clazz.methodCoveragePercentage," ")}}function IU(e,n){if(1&e&&(y(0,"td",9),H(1,EU,1,5,"div",15)(2,DU,5,6,"ng-container",1)(3,bU,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function MU(e,n){if(1&e&&(y(0,"td",6),N(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function TU(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,i=v();f(),A(i.clazz.metrics[t.abbreviation])}}let SU=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function OU(e,n){if(1&e){const t=Ie();y(0,"popup",30),st("visibleChange",function(r){G(t);const o=v(2);return Ne(o.popupVisible,r)||(o.popupVisible=r),q(r)})("showLineCoverageChange",function(r){G(t);const o=v(2);return Ne(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),q(r)})("showBranchCoverageChange",function(r){G(t);const o=v(2);return Ne(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),q(r)})("showMethodCoverageChange",function(r){G(t);const o=v(2);return Ne(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),q(r)})("visibleMetricsChange",function(r){G(t);const o=v(2);return Ne(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),q(r)}),_()}if(2&e){const t=v(2);tt("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),tt("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function NU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),A(t.translations.noGrouping)}}function AU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),A(t.translations.byAssembly)}}function xU(e,n){if(1&e&&(ne(0),b(1),ie()),2&e){const t=v(2);f(),A(t.translations.byNamespace+" "+t.settings.grouping)}}function RU(e,n){if(1&e&&(y(0,"option",34),b(1),_()),2&e){const t=n.$implicit;m("value",t),f(),A(t)}}function LU(e,n){1&e&&N(0,"br")}function PU(e,n){if(1&e&&(y(0,"option",42),b(1),_()),2&e){const t=v(4);f(),K(" ",t.translations.branchCoverageIncreaseOnly," ")}}function kU(e,n){if(1&e&&(y(0,"option",43),b(1),_()),2&e){const t=v(4);f(),K(" ",t.translations.branchCoverageDecreaseOnly," ")}}function FU(e,n){if(1&e&&(y(0,"option",44),b(1),_()),2&e){const t=v(4);f(),K(" ",t.translations.methodCoverageIncreaseOnly," ")}}function VU(e,n){if(1&e&&(y(0,"option",45),b(1),_()),2&e){const t=v(4);f(),K(" ",t.translations.methodCoverageDecreaseOnly," ")}}function HU(e,n){if(1&e){const t=Ie();y(0,"div")(1,"select",31),st("ngModelChange",function(r){G(t);const o=v(3);return Ne(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),q(r)}),y(2,"option",32),b(3),_(),y(4,"option",35),b(5),_(),y(6,"option",36),b(7),_(),y(8,"option",37),b(9),_(),H(10,PU,2,1,"option",38)(11,kU,2,1,"option",39)(12,FU,2,1,"option",40)(13,VU,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),tt("ngModel",t.settings.historyComparisionType),f(2),A(t.translations.filter),f(2),A(t.translations.allChanges),f(2),A(t.translations.lineCoverageIncreaseOnly),f(2),A(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function BU(e,n){if(1&e){const t=Ie();ne(0),y(1,"div"),b(2),y(3,"select",31),st("ngModelChange",function(r){G(t);const o=v(2);return Ne(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),q(r)}),W("ngModelChange",function(){return G(t),q(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),b(5),_(),H(6,RU,2,2,"option",33),_()(),H(7,LU,1,0,"br",0)(8,HU,14,9,"div",0),ie()}if(2&e){const t=v(2);f(2),K(" ",t.translations.compareHistory," "),f(),tt("ngModel",t.settings.historyComparisionDate),f(2),A(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function jU(e,n){1&e&&N(0,"col",46)}function UU(e,n){1&e&&N(0,"col",47)}function $U(e,n){1&e&&N(0,"col",48)}function zU(e,n){1&e&&N(0,"col",49)}function GU(e,n){1&e&&N(0,"col",50)}function qU(e,n){1&e&&N(0,"col",51)}function WU(e,n){1&e&&N(0,"col",46)}function ZU(e,n){1&e&&N(0,"col",49)}function YU(e,n){1&e&&N(0,"col",50)}function QU(e,n){1&e&&N(0,"col",51)}function KU(e,n){1&e&&N(0,"col",46)}function XU(e,n){1&e&&N(0,"col",49)}function JU(e,n){1&e&&N(0,"col",50)}function e3(e,n){1&e&&N(0,"col",51)}function t3(e,n){1&e&&N(0,"col",51)}function n3(e,n){if(1&e&&(y(0,"th",52),b(1),_()),2&e){const t=v(2);f(),A(t.translations.coverage)}}function i3(e,n){if(1&e&&(y(0,"th",53),b(1),_()),2&e){const t=v(2);f(),A(t.translations.branchCoverage)}}function r3(e,n){if(1&e&&(y(0,"th",53),b(1),_()),2&e){const t=v(2);f(),A(t.translations.methodCoverage)}}function o3(e,n){if(1&e&&(y(0,"th",54),b(1),_()),2&e){const t=v(2);ht("colspan",t.settings.visibleMetrics.length),f(),A(t.translations.metrics)}}function s3(e,n){if(1&e){const t=Ie();y(0,"td",52)(1,"ngx-slider",55),st("valueChange",function(r){G(t);const o=v(2);return Ne(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),q(r)})("highValueChange",function(r){G(t);const o=v(2);return Ne(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),q(r)}),_()()}if(2&e){const t=v(2);f(),tt("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function a3(e,n){if(1&e){const t=Ie();y(0,"td",53)(1,"ngx-slider",55),st("valueChange",function(r){G(t);const o=v(2);return Ne(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),q(r)})("highValueChange",function(r){G(t);const o=v(2);return Ne(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),q(r)}),_()()}if(2&e){const t=v(2);f(),tt("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function l3(e,n){if(1&e){const t=Ie();y(0,"td",53)(1,"ngx-slider",55),st("valueChange",function(r){G(t);const o=v(2);return Ne(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),q(r)})("highValueChange",function(r){G(t);const o=v(2);return Ne(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),q(r)}),_()()}if(2&e){const t=v(2);f(),tt("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function c3(e,n){1&e&&N(0,"td",54),2&e&&ht("colspan",v(2).settings.visibleMetrics.length)}function u3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("covered",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function d3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("uncovered",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),A(t.translations.uncovered)}}function f3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("coverable",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),A(t.translations.coverable)}}function h3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("total",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),A(t.translations.total)}}function p3(e,n){if(1&e){const t=Ie();y(0,"th",57)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("coverage",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function g3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("covered_branches",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function m3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("total_branches",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),A(t.translations.total)}}function v3(e,n){if(1&e){const t=Ie();y(0,"th",57)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("branchcoverage",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function _3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("covered_methods",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),A(t.translations.covered)}}function y3(e,n){if(1&e){const t=Ie();y(0,"th",56)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("total_methods",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),A(t.translations.total)}}function C3(e,n){if(1&e){const t=Ie();y(0,"th",57)(1,"a",3),W("click",function(r){return G(t),q(v(2).updateSorting("methodcoverage",r))}),N(2,"i",26),b(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",Ye(2,Ht,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),A(t.translations.percentage)}}function w3(e,n){if(1&e){const t=Ie();y(0,"th")(1,"a",3),W("click",function(r){const o=G(t).$implicit;return q(v(2).updateSorting(o.abbreviation,r))}),N(2,"i",26),b(3),_(),y(4,"a",58),N(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",Ye(3,Ht,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),A(t.name),f(),Fn("href",t.explanationUrl,Kn)}}function E3(e,n){if(1&e&&N(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function D3(e,n){if(1&e&&N(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function b3(e,n){if(1&e&&(ne(0),H(1,D3,1,7,"tr",62),ie()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function I3(e,n){if(1&e&&N(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function M3(e,n){if(1&e&&(ne(0),H(1,I3,1,7,"tr",65),ie()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function T3(e,n){if(1&e&&(ne(0),N(1,"tr",64),H(2,M3,2,1,"ng-container",29),ie()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function S3(e,n){if(1&e&&(ne(0),H(1,T3,3,7,"ng-container",0),ie()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function O3(e,n){if(1&e&&(ne(0),H(1,E3,1,6,"tr",60)(2,b3,2,1,"ng-container",29)(3,S3,2,1,"ng-container",29),ie()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function N3(e,n){if(1&e){const t=Ie();y(0,"div"),H(1,OU,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),W("click",function(r){return G(t),q(v().collapseAll(r))}),b(5),_(),b(6," | "),y(7,"a",3),W("click",function(r){return G(t),q(v().expandAll(r))}),b(8),_()(),y(9,"div",4)(10,"span",5),H(11,NU,2,1,"ng-container",0)(12,AU,2,1,"ng-container",0)(13,xU,2,1,"ng-container",0),_(),N(14,"br"),b(15),y(16,"input",6),st("ngModelChange",function(r){G(t);const o=v();return Ne(o.settings.grouping,r)||(o.settings.grouping=r),q(r)}),W("ngModelChange",function(){return G(t),q(v().updateCoverageInfo())}),_()(),y(17,"div",4),H(18,BU,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),W("click",function(){return G(t),q(v().popupVisible=!0)}),N(21,"i",9),b(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),N(26,"col",12),H(27,jU,1,0,"col",13)(28,UU,1,0,"col",14)(29,$U,1,0,"col",15)(30,zU,1,0,"col",16)(31,GU,1,0,"col",17)(32,qU,1,0,"col",18)(33,WU,1,0,"col",13)(34,ZU,1,0,"col",16)(35,YU,1,0,"col",17)(36,QU,1,0,"col",18)(37,KU,1,0,"col",13)(38,XU,1,0,"col",16)(39,JU,1,0,"col",17)(40,e3,1,0,"col",18)(41,t3,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),N(44,"th"),H(45,n3,2,1,"th",21)(46,i3,2,1,"th",22)(47,r3,2,1,"th",22)(48,o3,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),st("ngModelChange",function(r){G(t);const o=v();return Ne(o.settings.filter,r)||(o.settings.filter=r),q(r)}),_()(),H(52,s3,2,3,"td",21)(53,a3,2,3,"td",22)(54,l3,2,3,"td",22)(55,c3,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),W("click",function(r){return G(t),q(v().updateSorting("name",r))}),N(59,"i",26),b(60),_()(),H(61,u3,4,6,"th",27)(62,d3,4,6,"th",27)(63,f3,4,6,"th",27)(64,h3,4,6,"th",27)(65,p3,4,6,"th",28)(66,g3,4,6,"th",27)(67,m3,4,6,"th",27)(68,v3,4,6,"th",28)(69,_3,4,6,"th",27)(70,y3,4,6,"th",27)(71,C3,4,6,"th",28)(72,w3,6,7,"th",29),_()(),y(73,"tbody"),H(74,O3,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),A(t.translations.collapseAll),f(3),A(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),K(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),tt("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),A(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),Fn("placeholder",t.translations.filter),tt("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",Ye(51,Ht,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),A(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let A3=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new oj,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,Gt.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new BI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(M(Ip))};static#t=this.\u0275cmp=Yt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&W("beforeunload",function(){return r.onBeforeUnload()},0,Za)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&H(0,N3,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Xr,Ui,jn,_p,Cp,Ns,pp,ks,fc,Ps,HI,gj,kj,SU],encapsulation:2})}return e})();class x3{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const Ic=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),R3=(e,n)=>({lightred:e,lightgreen:n});function L3(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=n.$implicit;m("value",t),f(),A(t)}}function P3(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(),A(t.translations.top)}}function k3(e,n){1&e&&(y(0,"option",23),b(1,"20"),_())}function F3(e,n){1&e&&(y(0,"option",24),b(1,"50"),_())}function V3(e,n){1&e&&(y(0,"option",25),b(1,"100"),_())}function H3(e,n){if(1&e&&(y(0,"option",16),b(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),A(t.translations.all)}}function B3(e,n){if(1&e){const t=Ie();y(0,"select",17),st("ngModelChange",function(r){G(t);const o=v(2);return Ne(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),q(r)}),y(1,"option",18),b(2,"10"),_(),H(3,k3,2,0,"option",19)(4,F3,2,0,"option",20)(5,V3,2,0,"option",21)(6,H3,2,2,"option",22),_()}if(2&e){const t=v(2);tt("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function j3(e,n){1&e&&N(0,"col",26)}function U3(e,n){if(1&e){const t=Ie();y(0,"th")(1,"a",13),W("click",function(r){const o=G(t).index;return q(v(2).updateSorting(""+o,r))}),N(2,"i",14),b(3),_(),y(4,"a",27),N(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",Ye(3,Ic,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),A(t.name),f(),Fn("href",t.explanationUrl,Kn)}}function $3(e,n){if(1&e&&(y(0,"td",32),b(1),_()),2&e){const t=n.$implicit;m("ngClass",Xf(2,R3,t.exceeded,!t.exceeded)),f(),A(t.value)}}function z3(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",29),b(5),_()(),y(6,"td",30)(7,"a",29),b(8),_()(),H(9,$3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),A(t.assembly),f(2),m("href",t.reportPath+i.queryString,Kn),f(),A(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Kn),f(),K(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function G3(e,n){if(1&e){const t=Ie();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),st("ngModelChange",function(r){G(t);const o=v();return Ne(o.settings.assembly,r)||(o.settings.assembly=r),q(r)}),W("ngModelChange",function(){return G(t),q(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),H(6,L3,2,2,"option",4),_()(),y(7,"div",5),H(8,P3,2,1,"span",0)(9,B3,7,5,"select",6),_(),N(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),st("ngModelChange",function(r){G(t);const o=v();return Ne(o.settings.filter,r)||(o.settings.filter=r),q(r)}),W("ngModelChange",function(){return G(t),q(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),N(18,"col",11)(19,"col",11)(20,"col",11),H(21,j3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),W("click",function(r){return G(t),q(v().updateSorting("assembly",r))}),N(26,"i",14),b(27),_()(),y(28,"th")(29,"a",13),W("click",function(r){return G(t),q(v().updateSorting("class",r))}),N(30,"i",14),b(31),_()(),y(32,"th")(33,"a",13),W("click",function(r){return G(t),q(v().updateSorting("method",r))}),N(34,"i",14),b(35),_()(),H(36,U3,6,7,"th",15),_()(),y(37,"tbody"),H(38,z3,10,7,"tr",15),function Kw(e,n){const t=J();let i;const r=e+P;t.firstCreatePass?(i=function jL(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=mi(i.type)),a=_t(M);try{const l=Ma(!1),c=o();return Ma(l),function Wf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,E(),r,c),c}finally{_t(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),tt("ngModel",t.settings.assembly),f(2),A(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),K("",t.translations.filter," "),f(),tt("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",Ye(20,Ic,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),A(t.translations.assembly),f(3),m("ngClass",Ye(24,Ic,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),A(t.translations.class),f(3),m("ngClass",Ye(28,Ic,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),A(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",Xw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let q3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new x3,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new BI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Xr,Ui,jn,_p,Cp,Ns,ks,fc,Ps,xD],encapsulation:2})}return e})(),W3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Wn({type:e,bootstrap:[q3,A3]});static#n=this.\u0275inj=Tn({providers:[Ip],imports:[CV,gB,rj]})}return e})();_V().bootstrapModule(W3).catch(e=>console.error(e))}},so=>{so(so.s=736)}]); \ No newline at end of file +"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[792],{197:()=>{function no(e,n){return Object.is(e,n)}let Oe=null,$i=!1,zi=1;const zt=Symbol("SIGNAL");function K(e){const n=Oe;return Oe=e,n}const Rs={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function mc(e){if($i)throw new Error("");if(null===Oe)return;Oe.consumerOnSignalRead(e);const n=Oe.nextProducerIndex++;Ps(Oe),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function _c(e){Ps(e);for(let n=0;n0}function Ps(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function gp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function mp(e){return void 0!==e.producerNode}const Cc=Symbol("UNSET"),wc=Symbol("COMPUTING"),Fs=Symbol("ERRORED"),cI={...Rs,value:Cc,dirty:!0,error:null,equal:no,producerMustRecompute:e=>e.value===Cc||e.value===wc,producerRecomputeValue(e){if(e.value===wc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=wc;const t=Ls(e);let i;try{i=e.computation()}catch(r){i=Fs,e.error=r}finally{vc(e,t)}n!==Cc&&n!==Fs&&i!==Fs&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let vp=function uI(){throw new Error};function _p(){vp()}let Vs=null;function yp(e,n){fp()||_p(),e.equal(e.value,n)||(e.value=n,function gI(e){e.version++,function aI(){zi++}(),dp(e),Vs?.()}(e))}const pI={...Rs,equal:no,value:void 0};function Pe(e){return"function"==typeof e}function wp(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Dc=wp(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hs(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class It{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Pe(i))try{i()}catch(o){n=o instanceof Dc?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ep(o)}catch(s){n=n??[],s instanceof Dc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Dc(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ep(n);else{if(n instanceof It){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hs(t,n)}remove(n){const{_finalizers:t}=this;t&&Hs(t,n),n instanceof It&&n._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Dp=It.EMPTY;function bp(e){return e instanceof It||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Ep(e){Pe(e)?e():e.unsubscribe()}const li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Bs={setTimeout(e,n,...t){const{delegate:i}=Bs;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Bs;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ip(e){Bs.setTimeout(()=>{const{onUnhandledError:n}=li;if(!n)throw e;n(e)})}function Mp(){}const vI=bc("C",void 0,void 0);function bc(e,n,t){return{kind:e,value:n,error:t}}let ci=null;function js(e){if(li.useDeprecatedSynchronousErrorHandling){const n=!ci;if(n&&(ci={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=ci;if(ci=null,t)throw i}}else e()}class Ec extends It{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bp(n)&&n.add(this)):this.destination=EI}static create(n,t,i){return new Mc(n,t,i)}next(n){this.isStopped?Sc(function yI(e){return bc("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Sc(function _I(e){return bc("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Sc(vI,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wI=Function.prototype.bind;function Ic(e,n){return wI.call(e,n)}class DI{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Us(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Us(i)}else Us(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Us(t)}}}class Mc extends Ec{constructor(n,t,i){let r;if(super(),Pe(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&li.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Ic(n.next,o),error:n.error&&Ic(n.error,o),complete:n.complete&&Ic(n.complete,o)}):r=n}this.destination=new DI(r)}}function Us(e){li.useDeprecatedSynchronousErrorHandling?function CI(e){li.useDeprecatedSynchronousErrorHandling&&ci&&(ci.errorThrown=!0,ci.error=e)}(e):Ip(e)}function Sc(e,n){const{onStoppedNotification:t}=li;t&&Bs.setTimeout(()=>t(e,n))}const EI={closed:!0,next:Mp,error:function bI(e){throw e},complete:Mp},Tc="function"==typeof Symbol&&Symbol.observable||"@@observable";function xc(e){return e}let Mt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function MI(e){return e&&e instanceof Ec||function II(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&bp(e)}(t)?t:new Mc(t,i,r);return js(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Tp(i))((r,o)=>{const s=new Mc({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Tc](){return this}pipe(...t){return function Sp(e){return 0===e.length?xc:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=Tp(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function Tp(e){var n;return null!==(n=e??li.Promise)&&void 0!==n?n:Promise}const SI=wp(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let sn=(()=>{class e extends Mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new xp(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new SI}next(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){js(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?Dp:(this.currentObservers=null,o.push(t),new It(()=>{this.currentObservers=null,Hs(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Mt;return t.source=this,t}}return e.create=(n,t)=>new xp(n,t),e})();class xp extends sn{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:Dp}}class TI extends sn{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ui(e){return n=>{if(function xI(e){return Pe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Bn(e,n,t,i,r){return new OI(e,n,t,i,r)}class OI extends Ec{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Oc(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>{i.next(e.call(n,o,r++))}))})}const Op="https://g.co/ng/security#xss";class T extends Error{constructor(n,t){super(function Gi(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function bn(e){return{toString:e}.toString()}const Wi="__parameters__";function Qi(e,n,t){return bn(()=>{const i=function Nc(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Wi)?l[Wi]:Object.defineProperty(l,Wi,{value:[]})[Wi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const be=globalThis;function fe(e){for(let n in e)if(e[n]===fe)return n;throw Error("Could not find renamed property on target object.")}function NI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function je(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(je).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Ac(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const AI=fe({__forward_ref__:fe});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return je(this())},e}function B(e){return zs(e)?e():e}function zs(e){return"function"==typeof e&&e.hasOwnProperty(AI)&&e.__forward_ref__===ge}function ne(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function En(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gs(e){return Lp(e,Ws)||Lp(e,kp)}function Lp(e,n){return e.hasOwnProperty(n)?e[n]:null}function qs(e){return e&&(e.hasOwnProperty(Rc)||e.hasOwnProperty(FI))?e[Rc]:null}const Ws=fe({\u0275prov:fe}),Rc=fe({\u0275inj:fe}),kp=fe({ngInjectableDef:fe}),FI=fe({ngInjectorDef:fe});class R{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ne({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Vc(e){return e&&!!e.\u0275providers}const ro=fe({\u0275cmp:fe}),Hc=fe({\u0275dir:fe}),Bc=fe({\u0275pipe:fe}),Fp=fe({\u0275mod:fe}),In=fe({\u0275fac:fe}),oo=fe({__NG_ELEMENT_ID__:fe}),Vp=fe({__NG_ENV_ID__:fe});function W(e){return"string"==typeof e?e:null==e?"":String(e)}function jc(e,n){throw new T(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let Uc;function Hp(){return Uc}function vt(e){const n=Uc;return Uc=e,n}function Bp(e,n,t){const i=Gs(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void jc()}const so={},$c="__NG_DI_FLAG__",Zs="ngTempTokenPath",$I=/\n/gm,jp="__source";let Yi;function Un(e){const n=Yi;return Yi=e,n}function qI(e,n=ie.Default){if(void 0===Yi)throw new T(-203,!1);return null===Yi?Bp(e,void 0,n):Yi.get(e,n&ie.Optional?null:void 0,n)}function oe(e,n=ie.Default){return(Hp()||qI)(B(e),n)}function k(e,n=ie.Default){return oe(e,Qs(n))}function Qs(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zc(e){const n=[];for(let t=0;tArray.isArray(t)?Ki(t,n):n(t))}function $p(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ys(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function xt(e,n,t){let i=Ji(e,n);return i>=0?e[1|i]=t:(i=~i,function zp(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Zc(e,n){const t=Ji(e,n);if(t>=0)return e[1|t]}function Ji(e,n){return function Gp(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<n?r=o:i=o+1}return~(r<n){s=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[u+1].toLowerCase(),2&i&&c!==d){if(qt(i))return!1;s=!0}}}}else{if(!s&&!qt(i)&&!qt(l))return!1;if(s&&qt(l))continue;s=!1,i=l|1&i}}return qt(i)||s}function qt(e){return!(1&e)}function rM(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!qt(s)&&(n+=Jp(o,r),r=""),i=s,o=o||!qt(i);t++}return""!==r&&(n+=Jp(o,r)),n}function Wt(e){return bn(()=>{const n=eg(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Gt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""};tg(t);const i=e.dependencies;return t.directiveDefs=ea(i,!1),t.pipeDefs=ea(i,!0),t.id=function gM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function fM(e){return X(e)||Ue(e)}function hM(e){return null!==e}function zn(e){return bn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xp(e,n){if(null==e)return an;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a=$n.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(t[o]=a!==$n.None?[i,a]:i,n[o]=s):t[o]=i}return t}function $(e){return bn(()=>{const n=eg(e);return tg(n),n})}function yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function X(e){return e[ro]||null}function Ue(e){return e[Hc]||null}function Ye(e){return e[Bc]||null}function eg(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||an,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xp(e.inputs,n),outputs:Xp(e.outputs),debugInfo:null}}function tg(e){e.features?.forEach(n=>n(e))}function ea(e,n){if(!e)return null;const t=n?Ye:fM;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(hM)}function mM(...e){return{\u0275providers:Jc(0,e),\u0275fromNgModule:!0}}function Jc(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return Ki(n,s=>{const a=s;na(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&ng(r,o),t}function ng(e,n){for(let t=0;t{n(o,i)})}}function na(e,n,t,i){if(!(e=B(e)))return!1;let r=null,o=qs(e);const s=!o&&X(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=qs(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)na(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Ki(o.imports,u=>{na(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&ng(c,n)}if(!a){const c=di(r)||(()=>new r);n({provide:r,useFactory:c,deps:se},r),n({provide:Qc,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>oe(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Xc(l,u=>{n(u,c)})}}}return r!==e&&void 0!==e.providers}function Xc(e,n){for(let t of e)Vc(t)&&(t=t.\u0275providers),Array.isArray(t)?Xc(t,n):n(t)}const vM=fe({provide:String,useValue:fe});function eu(e){return null!==e&&"object"==typeof e&&vM in e}function hi(e){return"function"==typeof e}const tu=new R(""),ia={},yM={};let nu;function ra(){return void 0===nu&&(nu=new Js),nu}class Zt{}class Xi extends Zt{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ru(n,s=>this.processProvider(s)),this.records.set(qp,er(void 0,this)),r.has("environment")&&this.records.set(Zt,er(void 0,this));const o=this.records.get(tu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Qc,se,ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=K(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),K(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Un(this),i=vt(void 0);try{return n()}finally{Un(t),vt(i)}}get(n,t=so,i=ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vp))return n[Vp](this);i=Qs(i);const o=Un(this),s=vt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function EM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(n)&&Gs(n);l=c&&this.injectableDefInScope(c)?er(iu(n),ia):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&ie.Self?ra():this.parent).get(n,t=i&ie.Optional&&t===so?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Zs]=a[Zs]||[]).unshift(je(n)),o)throw a;return function ZI(e,n,t,i){const r=e[Zs];throw n[jp]&&r.unshift(n[jp]),e.message=function QI(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=je(n);if(Array.isArray(n))r=n.map(je).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):je(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace($I,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{vt(s),Un(o)}}resolveInjectorInitializers(){const n=K(null),t=Un(this),i=vt(void 0);try{const o=this.get(Mn,se,ie.Self);for(const s of o)s()}finally{Un(t),vt(i),K(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(je(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){let t=hi(n=B(n))?n:B(n&&n.provide);const i=function wM(e){return eu(e)?er(void 0,e.useValue):er(og(e),ia)}(n);if(!hi(n)&&!0===n.multi){let r=this.records.get(t);r||(r=er(void 0,ia,!0),r.factory=()=>zc(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=K(null);try{return t.value===ia&&(t.value=yM,t.value=t.factory()),"object"==typeof t.value&&t.value&&function bM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{K(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=B(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function iu(e){const n=Gs(e),t=null!==n?n.factory:di(e);if(null!==t)return t;if(e instanceof R)throw new T(204,!1);if(e instanceof Function)return function CM(e){if(e.length>0)throw new T(204,!1);const t=function PI(e){return e&&(e[Ws]||e[kp])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new T(204,!1)}function og(e,n,t){let i;if(hi(e)){const r=B(e);return di(r)||iu(r)}if(eu(e))i=()=>B(e.useValue);else if(function rg(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...zc(e.deps||[]));else if(function ig(e){return!(!e||!e.useExisting)}(e))i=()=>oe(B(e.useExisting));else{const r=B(e&&(e.useClass||e.provide));if(!function DM(e){return!!e.deps}(e))return di(r)||iu(r);i=()=>new r(...zc(e.deps))}return i}function er(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ru(e,n){for(const t of e)Array.isArray(t)?ru(t,n):t&&Vc(t)?ru(t.\u0275providers,n):n(t)}const Se=0,x=1,P=2,Fe=3,Qt=4,Ke=5,at=6,nr=7,_e=8,Ve=9,ln=10,j=11,uo=12,lg=13,ir=14,Te=15,pi=16,rr=17,Sn=18,or=19,cg=20,Gn=21,sa=22,Vt=23,L=25,au=1,cn=7,sr=9,Ne=10;var la=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(la||{});function ze(e){return Array.isArray(e)&&"object"==typeof e[au]}function tt(e){return Array.isArray(e)&&!0===e[au]}function lu(e){return!!(4&e.flags)}function gi(e){return e.componentOffset>-1}function ca(e){return!(1&~e.flags)}function Yt(e){return!!e.template}function ho(e){return!!(512&e[P])}class PM{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function pg(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function un(){return gg}function gg(e){return e.type.prototype.ngOnChanges&&(e.setInput=VM),FM}function FM(){const e=vg(this),n=e?.current;if(n){const t=e.previous;if(t===an)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function VM(e,n,t,i,r){const o=this.declaredInputs[i],s=vg(e)||function HM(e,n){return e[mg]=n}(e,{previous:an,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new PM(c&&c.currentValue,t,l===an),pg(e,n,r,t)}un.ngInherit=!0;const mg="__ngSimpleChanges__";function vg(e){return e[mg]||null}const dn=function(e,n,t){};function ae(e){for(;Array.isArray(e);)e=e[Se];return e}function po(e,n){return ae(n[e])}function lt(e,n){return ae(n[e.index])}function go(e,n){return e.data[n]}function Ot(e,n){const t=n[e];return ze(t)?t:t[Se]}function hu(e){return!(128&~e[P])}function Ht(e,n){return null==n?null:e[n]}function Cg(e){e[rr]=0}function wg(e){1024&e[P]||(e[P]|=1024,hu(e)&&da(e))}function ua(e){return!!(9216&e[P]||e[Vt]?.dirty)}function pu(e){e[ln].changeDetectionScheduler?.notify(8),64&e[P]&&(e[P]|=1024),ua(e)&&da(e)}function da(e){e[ln].changeDetectionScheduler?.notify(0);let n=Tn(e);for(;null!==n&&!(8192&n[P])&&(n[P]|=8192,hu(n));)n=Tn(n)}function fa(e,n){if(!(256&~e[P]))throw new T(911,!1);null===e[Gn]&&(e[Gn]=[]),e[Gn].push(n)}function Tn(e){const n=e[Fe];return tt(n)?n[Fe]:n}const U={lFrame:Lg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let bg=!1;function Eg(){return U.bindingsEnabled}function D(){return U.lFrame.lView}function J(){return U.lFrame.tView}function z(e){return U.lFrame.contextLView=e,e[_e]}function G(e){return U.lFrame.contextLView=null,e}function he(){let e=Ig();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ig(){return U.lFrame.currentTNode}function Kt(e,n){const t=U.lFrame;t.currentTNode=e,t.isParent=n}function vu(){return U.lFrame.isParent}function _u(){U.lFrame.isParent=!1}function Tg(){return bg}function xg(e){bg=e}function ct(){const e=U.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Jt(){return U.lFrame.bindingIndex++}function On(e){const n=U.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function XM(e,n){const t=U.lFrame;t.bindingIndex=t.bindingRootIndex=e,yu(n)}function yu(e){U.lFrame.currentDirectiveIndex=e}function wu(){return U.lFrame.currentQueryIndex}function pa(e){U.lFrame.currentQueryIndex=e}function t0(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ke]:null}function Ag(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=t0(o),null===r||(o=o[ir],10&r.type))););if(null===r)return!1;n=r,e=o}const i=U.lFrame=Rg();return i.currentTNode=n,i.lView=e,!0}function Du(e){const n=Rg(),t=e[x];U.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Rg(){const e=U.lFrame,n=null===e?null:e.child;return null===n?Lg(e):n}function Lg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function kg(){const e=U.lFrame;return U.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pg=kg;function bu(){const e=kg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Je(){return U.lFrame.selectedIndex}function _i(e){U.lFrame.selectedIndex=e}function ye(){const e=U.lFrame;return go(e.tView,e.selectedIndex)}let Hg=!0;function vo(){return Hg}function fn(e){Hg=e}function ga(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t=i)break}else n[l]<0&&(e[rr]+=65536),(a>14>16&&(3&e[P])===n&&(e[P]+=16384,jg(a,o)):jg(a,o)}const ar=-1;class _o{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const Mu={};class yi{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Qs(i);const r=this.injector.get(n,Mu,i);return r!==Mu||t===Mu?r:this.parentInjector.get(n,t,i)}}function Su(e){return e!==ar}function yo(e){return 32767&e}function Co(e,n){let t=function h0(e){return e>>16}(e),i=n;for(;t>0;)i=i[ir],t--;return i}let Tu=!0;function _a(e){const n=Tu;return Tu=e,n}const $g=255,zg=5;let g0=0;const hn={};function ya(e,n){const t=Gg(e,n);if(-1!==t)return t;const i=n[x];i.firstCreatePass&&(e.injectorIndex=n.length,xu(i.data,e),xu(n,null),xu(i.blueprint,null));const r=Ca(e,n),o=e.injectorIndex;if(Su(r)){const s=yo(r),a=Co(r,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function xu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Ca(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Jg(r),null===i)return ar;if(t++,r=r[ir],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return ar}function Ou(e,n,t){!function m0(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(oo)&&(i=t[oo]),null==i&&(i=t[oo]=g0++);const r=i&$g;n.data[e+(r>>zg)]|=1<=0?n&$g:C0:n}(t);if("function"==typeof o){if(!Ag(n,e,i))return i&ie.Host?qg(r,0,i):Wg(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;jc()}finally{Pg()}}else if("number"==typeof o){let s=null,a=Gg(e,n),l=ar,c=i&ie.Host?n[Te][Ke]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Ca(e,n):n[a+8],l!==ar&&Kg(i,!1)?(s=n[x],a=yo(l),n=Co(l,n)):a=-1);-1!==a;){const u=n[x];if(Yg(o,a,u.data)){const d=_0(a,n,t,s,i,c);if(d!==hn)return d}l=n[a+8],l!==ar&&Kg(i,n[x].data[a+8]===c)&&Yg(o,a,n)?(s=u,a=yo(l),n=Co(l,n)):a=-1}}return r}function _0(e,n,t,i,r,o){const s=n[x],a=s.data[e+8],u=wa(a,s,t,null==i?gi(a)&&Tu:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==u?Ci(n,s,u,a):hn}function wa(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,h=r?a+u:e.directiveEnd;for(let p=i?a:a+u;p=l&&g.type===t)return p}if(r){const p=s[l];if(p&&Yt(p)&&p.type===t)return l}return null}function Ci(e,n,t,i){let r=e[t];const o=n.data;if(function c0(e){return e instanceof _o}(r)){const s=r;s.resolving&&function BI(e,n){throw n&&n.join(" > "),new T(-200,e)}(function le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():W(e)}(o[t]));const a=_a(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?vt(s.injectImpl):null;Ag(e,i,ie.Default);try{r=e[t]=s.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function a0(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=gg(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==c&&vt(c),_a(a),s.resolving=!1,Pg()}}return r}function Yg(e,n,t){return!!(t[n+(e>>zg)]&1<{const n=e.prototype.constructor,t=n[In]||Nu(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[In]||Nu(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Nu(e){return zs(e)?()=>{const n=Nu(B(e));return n&&n()}:di(e)}function Jg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ke]:null}function im(e,n=null,t=null,i){const r=rm(e,n,t,i);return r.resolveInjectorInitializers(),r}function rm(e,n=null,t=null,i,r=new Set){const o=[t||se,mM(e)];return i=i||("object"==typeof e?void 0:je(e)),new Xi(o,n||ra(),i||null,r)}class it{static#e=this.THROW_IF_NOT_FOUND=so;static#t=this.NULL=new Js;static create(n,t){if(Array.isArray(n))return im({name:""},t,n,"");{const i=n.name??"";return im({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=ne({token:it,providedIn:"any",factory:()=>oe(qp)});static#i=this.__NG_ELEMENT_ID__=-1}new R("").__NG_ELEMENT_ID__=e=>{const n=he();if(null===n)throw new T(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new T(204,!1)};function Ru(e){return e.ngOriginalError}const sm=!0;let wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=N0;static#t=this.__NG_ENV_ID__=t=>t}return e})();class O0 extends wo{constructor(n){super(),this._lView=n}onDestroy(n){return fa(this._lView,n),()=>function gu(e,n){if(null===e[Gn])return;const t=e[Gn].indexOf(n);-1!==t&&e[Gn].splice(t,1)}(this._lView,n)}}function N0(){return new O0(D())}let ur=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new TI(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ce=class A0 extends sn{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function sg(){return void 0!==Hp()||null!=function GI(){return Yi}()}()&&(this.destroyRef=k(wo,{optional:!0})??void 0,this.pendingTasks=k(ur,{optional:!0})??void 0)}emit(n){const t=K(null);try{super.next(n)}finally{K(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof It&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function Ea(...e){}function am(e){let n,t;function i(){e=Ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function lm(e){return queueMicrotask(()=>e()),()=>{e=Ea}}const Lu="isAngularZone",Ia=Lu+"_ID";let R0=0;class pe{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ce(!1),this.onMicrotaskEmpty=new Ce(!1),this.onStable=new Ce(!1),this.onError=new Ce(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=sm}=n;if(typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function P0(e){const n=()=>{!function k0(e){function n(){am(()=>{e.callbackScheduled=!1,Pu(e),e.isCheckStableRunning=!0,ku(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Pu(e))}(e)},t=R0++;e._inner=e._inner.fork({name:"angular",properties:{[Lu]:!0,[Ia]:t,[Ia+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function F0(e){return dm(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return cm(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),um(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return cm(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function V0(e){return dm(e,"__scheduler_tick__")}(l)&&n(),um(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Pu(e),ku(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Lu)}static assertInAngularZone(){if(!pe.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(pe.isInAngularZone())throw new T(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,L0,Ea,Ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const L0={};function ku(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Pu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function um(e){e._nesting--,ku(e)}class Fu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ce,this.onMicrotaskEmpty=new Ce,this.onStable=new Ce,this.onError=new Ce}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function dm(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ru(n);for(;t&&Ru(t);)t=Ru(t);return t||null}}const B0=new R("",{providedIn:"root",factory:()=>{const e=k(pe),n=k(pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function j0(){return dr(he(),D())}function dr(e,n){return new ut(lt(e,n))}let ut=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=j0}return e})();function hm(e){return e instanceof ut?e.nativeElement:e}function U0(){return this._results[Symbol.iterator]()}class Vu{static#e=Symbol.iterator;get changes(){return this._changes??=new Ce}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Vu.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=U0)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function _t(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function XI(e,n,t){if(e.length!==n.length)return!1;for(let i=0;icS}),cS="ng",Rm=new R(""),wi=new R("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new R("",{providedIn:"root",factory:()=>qn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let km=()=>null;function Yu(e,n,t=!1){return km(e,n,t)}const $m=new R("",{providedIn:"root",factory:()=>!1});let La,ka;function mr(e){return function td(){if(void 0===La&&(La=null,be.trustedTypes))try{La=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return La}()?.createHTML(e)||e}function qm(e){return function nd(){if(void 0===ka&&(ka=null,be.trustedTypes))try{ka=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ka}()?.createHTML(e)||e}class Qm{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Op})`}}function Wn(e){return e instanceof Qm?e.changingThisBreaksApplicationSecurity:e}function Oo(e,n){const t=function TS(e){return e instanceof Qm&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Op})`)}return t===n}class xS{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(mr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class OS{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=mr(n),t}}const AS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function id(e){return(e=String(e)).match(AS)?e:"unsafe:"+e}function Nn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function No(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Km=Nn("area,br,col,hr,img,wbr"),Jm=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xm=Nn("rp,rt"),rd=No(Km,No(Jm,Nn("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")),No(Xm,Nn("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")),No(Xm,Jm)),od=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ev=No(od,Nn("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"),Nn("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")),RS=Nn("script,style,template");class LS{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=FS(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=PS(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=tv(n).toLowerCase();if(!rd.hasOwnProperty(t))return this.sanitizedSomething=!0,!RS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r"),!0}endElement(n){const t=tv(n).toLowerCase();rd.hasOwnProperty(t)&&!Km.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(iv(n))}}function PS(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw nv(n);return n}function FS(e){const n=e.firstChild;if(n&&function kS(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw nv(n);return n}function tv(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function nv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const VS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,HS=/([^\#-~ |!])/g;function iv(e){return e.replace(/&/g,"&").replace(VS,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(HS,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function sd(e){return"content"in e&&function jS(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(vr||{});function rv(e){const n=Ao();return n?qm(n.sanitize(vr.HTML,e)||""):Oo(e,"HTML")?qm(Wn(e)):function BS(e,n){let t=null;try{Pa=Pa||function Ym(e){const n=new OS(e);return function NS(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch{return!1}}()?new xS(n):n}(e);let i=n?String(n):"";t=Pa.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Pa.getInertBodyElement(i)}while(i!==o);return mr((new LS).sanitizeChildren(sd(t)||t))}finally{if(t){const i=sd(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}(qn(),W(e))}function Zn(e){const n=Ao();return n?n.sanitize(vr.URL,e)||"":Oo(e,"URL")?Wn(e):id(W(e))}function Ao(){const e=D();return e&&e[ln].sanitizer}const ZS=/^>|^->||--!>|)/g,YS="\u200b$1\u200b";function Ha(e){return e.ownerDocument.defaultView}var Qn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Qn||{});let cd;function ud(e,n){return cd(e,n)}function yr(e,n,t,i,r){if(null!=i){let o,s=!1;tt(i)?o=i:ze(i)&&(s=!0,i=i[Se]);const a=ae(i);0===e&&null!==t?null==r?_v(n,t,a):bi(n,t,a,r||null,!0):1===e&&null!==t?bi(n,t,a,r||null,!0):2===e?function Lo(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function gT(e,n,t,i,r){const o=t[cn];o!==ae(t)&&yr(n,e,i,o,r);for(let a=Ne;an.replace(QS,YS))}(n))}function Ba(e,n,t){return e.createElement(n,t)}function gv(e,n){n[ln].changeDetectionScheduler?.notify(9),$a(e,n,n[j],2,null,null)}function mv(e,n){const t=e[sr],i=n[Fe];(ze(i)||n[Te]!==i[Fe][Te])&&(e[P]|=la.HasTransplantedViews),null===t?e[sr]=[n]:t.push(n)}function hd(e,n){const t=e[sr],i=t.indexOf(n);t.splice(i,1)}function Ro(e,n){if(e.length<=Ne)return;const t=Ne+n,i=e[t];if(i){const r=i[pi];null!==r&&r!==e&&hd(r,i),n>0&&(e[t-1][Qt]=i[Qt]);const o=Ys(e,Ne+n);!function aT(e,n){gv(e,n),n[Se]=null,n[Ke]=null}(i[x],i);const s=o[Sn];null!==s&&s.detachView(o[x]),i[Fe]=null,i[Qt]=null,i[P]&=-129}return i}function ja(e,n){if(!(256&n[P])){const t=n[j];t.destroyNode&&$a(e,n,t,3,null,null),function cT(e){let n=e[uo];if(!n)return pd(e[x],e);for(;n;){let t=null;if(ze(n))t=n[uo];else{const i=n[Ne];i&&(t=i)}if(!t){for(;n&&!n[Qt]&&n!==e;)ze(n)&&pd(n[x],n),n=n[Fe];null===n&&(n=e),ze(n)&&pd(n[x],n),t=n&&n[Qt]}n=t}}(n)}}function pd(e,n){if(256&n[P])return;const t=K(null);try{n[P]&=-129,n[P]|=256,n[Vt]&&yc(n[Vt]),function fT(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i=0?i[s]():i[-s].unsubscribe(),o+=2}else t[o].call(i[t[o+1]]);null!==i&&(n[nr]=null);const r=n[Gn];if(null!==r){n[Gn]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[i.directiveStart+r];if(o===Gt.None||o===Gt.Emulated)return null}return lt(i,t)}}(e,n.parent,t)}function bi(e,n,t,i,r){e.insertBefore(n,t,i,r)}function _v(e,n,t){e.appendChild(n,t)}function yv(e,n,t,i,r){null!==i?bi(e,n,t,i,r):_v(e,n,t)}function md(e,n){return e.parentNode(n)}let vd,Dv=function wv(e,n,t){return 40&e.type?lt(e,t):null};function Ua(e,n,t,i){const r=gd(e,i,n),o=n[j],a=function Cv(e,n,t){return Dv(e,n,t)}(i.parent||n[Ke],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;lL&&xv(e,n,L,!1),dn(s?2:0,r),t(i,r)}finally{_i(o),dn(s?3:1,r)}}function wd(e,n,t){if(lu(n)){const i=K(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function Lv(e,n,t,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];if(void 0===s)continue;i??={};let a,l=$n.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(null!==r){if(!r.hasOwnProperty(o))continue;c=r[o]}0===e?kv(i,t,c,a,l):kv(i,t,c,a)}return i}function kv(e,n,t,i,r){let o;e.hasOwnProperty(t)?(o=e[t]).push(n,i):o=e[t]=[n,i],void 0!==r&&o.push(r)}function wt(e,n,t,i,r,o,s,a){const l=lt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(xd(e,t,u,i,r),gi(n)&&function xT(e,n){const t=Ot(n,e);16&t[P]||(t[P]|=64)}(t,n.index)):3&n.type&&(i=function TT(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function Id(e,n,t,i){if(Eg()){const r=null===i?null:{"":-1},o=function kT(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,ko(e,t,r.hostVars,Z),r)}function gn(e,n,t,i,r,o){const s=lt(e,n);!function Sd(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?W(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[j],s,o,e.value,t,i,r)}function jT(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a{da(e.lView)},consumerOnSignalRead(){this.lView[Vt]=this}},KT={...Rs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Tn(e.lView);for(;n&&!qv(n[x]);)n=Tn(n);n&&wg(n)},consumerOnSignalRead(){this.lView[Vt]=this}};function qv(e){return 2!==e.type}const JT=100;function Wa(e,n=!0,t=0){const i=e[ln],r=i.rendererFactory;r.begin?.();try{!function XT(e,n){const t=Tg();try{xg(!0),Ad(e,n);let i=0;for(;ua(e);){if(i===JT)throw new T(103,!1);i++,Ad(e,1)}}finally{xg(t)}}(e,t)}catch(s){throw n&&qa(e,s),s}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function ex(e,n,t,i){const r=n[P];if(!(256&~r))return;n[ln].inlineEffectRunner?.flush(),Du(n);let a=!0,l=null,c=null;qv(e)?(c=function qT(e){return e[Vt]??function WT(e){const n=Gv.pop()??Object.create(QT);return n.lView=e,n}(e)}(n),l=Ls(c)):null===function cp(){return Oe}()?(a=!1,c=function YT(e){const n=e[Vt]??Object.create(KT);return n.lView=e,n}(n),l=Ls(c)):n[Vt]&&(yc(n[Vt]),n[Vt]=null);try{Cg(n),function Og(e){return U.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Nv(e,n,t,2,i);const u=!(3&~r);if(u){const p=e.preOrderCheckHooks;null!==p&&ma(n,p,null)}else{const p=e.preOrderHooks;null!==p&&va(n,p,0,null),Eu(n,0)}if(function tx(e){for(let n=bm(e);null!==n;n=Em(n)){if(!(n[P]&la.HasTransplantedViews))continue;const t=n[sr];for(let i=0;i-1&&(Ro(n,i),Ys(t,i))}this._attachedToViewContainer=!1}ja(this._lView[x],this._lView)}onDestroy(n){fa(this._lView,n)}markForCheck(){Fo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[P]&=-129}reattach(){pu(this._lView),this._lView[P]|=128}detectChanges(){this._lView[P]|=1024,Wa(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=ho(this._lView),t=this._lView[pi];null!==t&&!n&&hd(t,this._lView),gv(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;const t=ho(this._lView),i=this._lView[pi];null!==i&&!t&&mv(i,this._lView),pu(this._lView)}}let Rn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=ox}return e})();const ix=Rn,rx=class extends ix{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=function Cr(e,n,t,i){const r=K(null);try{const o=n.tView,l=za(e,o,t,4096&e[P]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[pi]=e[n.index];const u=e[Sn];return null!==u&&(l[Sn]=u.createEmbeddedView(o)),Od(o,l,t),l}finally{K(r)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Vo(r)}};function ox(){return Za(he(),D())}function Za(e,n){return 4&e.type?new rx(n,e,dr(e,n)):null}class br{}const qo=new R("",{providedIn:"root",factory:()=>!1}),__=new R(""),$d=new R("");class Kx{}class y_{}class Xx{resolveComponentFactory(n){throw function Jx(e){const n=Error(`No component factory found for ${je(e)}.`);return n.ngComponent=e,n}(n)}}class el{static#e=this.NULL=new Xx}class zd{}let Xt=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function eO(){const e=D(),t=Ot(he().index,e);return(ze(t)?t:e)[j]}()}return e})(),tO=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null})}return e})();function nl(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0&&Sv(e,t,o.join(" "))}}(h,Me,g,i),void 0!==t&&function dO(e,n,t){const i=e.projection=[];for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=hO}return e})();function hO(){return S_(he(),D())}const pO=mn,I_=class extends pO{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return dr(this._hostTNode,this._hostLView)}get injector(){return new Ge(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ca(this._hostTNode,this._hostLView);if(Su(n)){const t=Co(n,this._hostLView),i=yo(n);return new Ge(t[x].data[i+8],t)}return new Ge(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=M_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ne}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Mi(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function co(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const g=t||{};a=g.index,i=g.injector,r=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}const l=s?n:new Qo(X(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const C=(s?c:this.parentInjector).get(Zt,null);C&&(o=C)}X(l.componentType??{});const p=l.create(c,r,null,o);return this.insertImpl(p.hostView,a,Mi(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function $M(e){return tt(e[Fe])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[Fe],c=new I_(l,l[Ke],l[Fe]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return function wr(e,n,t,i=!0){const r=n[x];if(function uT(e,n,t,i){const r=Ne+i,o=t.length;i>0&&(t[r-1][Qt]=n),i!1;class Qd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Qd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Yd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;on.trim())}(n):n}}class Kd{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i0)i.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ne;d(mc(n),n.value);return t[zt]=n,t}(e),i=t[zt];return n?.equal&&(i.equal=n.equal),t.set=r=>yp(i,r),t.update=r=>function hI(e,n){fp()||_p(),yp(e,n(e.value))}(i,r),t.asReadonly=B_.bind(t),t}function B_(){const e=this[zt];if(void 0===e.readonlyFn){const n=()=>this();n[zt]=e,e.readonlyFn=n}return e.readonlyFn}function j_(e){return function H_(e){return"function"==typeof e&&void 0!==e[zt]}(e)&&"function"==typeof e.set}function ce(e){let n=function J_(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(Yt(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=rl(e.inputs),s.inputTransforms=rl(e.inputTransforms),s.declaredInputs=rl(e.declaredInputs),s.outputs=rl(e.outputs);const a=r.hostBindings;a&&VO(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&PO(e,l),c&&FO(e,c),LO(e,r),NI(e.outputs,r.outputs),Yt(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=lo(r.hostAttrs,t=lo(t,r.hostAttrs))}}(i)}function LO(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rl(e){return e===an?{}:e===se?[]:e}function PO(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function FO(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function VO(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}class Oi{}class GO{}class rf extends Oi{constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new b_(this);const o=function et(e,n){const t=e[Fp]||null;if(!t&&!0===n)throw new Error(`Type ${je(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=rm(n,t,[{provide:Oi,useValue:this},{provide:el,useValue:this.componentFactoryResolver},...i],je(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class of extends GO{constructor(n){super(),this.moduleType=n}create(n){return new rf(this.moduleType,n,[])}}function ol(e){return!!sf(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function sf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vn(e,n,t){return e[n]=t}function Ae(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Ni(e,n,t,i){const r=Ae(e,n,t);return Ae(e,n+1,i)||r}function Jo(e,n,t,i,r,o,s,a,l,c){const u=t+L,d=n.firstCreatePass?function JO(e,n,t,i,r,o,s,a,l){const c=n.consts,u=Ii(n,e,4,s||null,a||null);Id(n,t,u,Ht(c,l)),ga(n,u);const d=u.tView=Ed(2,u,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,r,o,s,a,l):n.data[u];Kt(d,!1);const h=ry(n,e,d,t);vo()&&Ua(n,e,h,d),rt(h,e);const p=Vv(h,e,h,d);return e[u]=p,Ga(e,p),function x_(e,n,t){return Zd(e,n,t)}(p,d,e),ca(d)&&Dd(n,e,d),null!=l&&bd(e,d,c),d}function V(e,n,t,i,r,o,s,a){const l=D(),c=J();return Jo(l,c,e,n,t,i,r,Ht(c.consts,o),s,a),V}let ry=function oy(e,n,t,i){return fn(!0),n[j].createComment("")};var Tr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Tr||{});let dy=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e})}return e})();class ts{constructor(){this.ngZone=k(pe),this.scheduler=k(br),this.errorHandler=k(pn,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Tr.EarlyRead,Tr.Write,Tr.MixedReadWrite,Tr.Read];execute(){this.executing=!0;for(const n of ts.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[n])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[n](t.pipelinedValue))}catch(i){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&this.sequences.delete(n);for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static#t=this.\u0275prov=ne({token:ts,providedIn:"root",factory:()=>new ts})}function ft(e,n,t,i){const r=D();return Ae(r,Jt(),n)&&(J(),gn(ye(),r,e,n,t,i)),ft}function kr(e,n,t,i){return Ae(e,Jt(),t)?n+W(t)+i:Z}function fl(e,n){return e<<17|n<<2}function Jn(e){return e>>17&32767}function _f(e){return 2|e}function Ri(e){return(131068&e)>>2}function yf(e,n){return-131069&e|n<<2}function Cf(e){return 1|e}function Hy(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Jn(r):Ri(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];BN(e[s],n)&&(a=!0,e[s+1]=i?Cf(c):_f(c)),s=i?Jn(c):Ri(c)}a&&(e[t+1]=i?_f(r):Cf(r))}function BN(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ji(e,n)>=0}const qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function By(e){return e.substring(qe.key,qe.keyEnd)}function jy(e,n){const t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=function zN(e,n,t){for(;n32;)n++;return n}(e,qe.key=n,t),$r(e,n,t))}function $r(e,n,t){for(;n=0;t=jy(n,t))xt(e,By(n),!0)}function en(e,n,t,i){const r=D(),o=J(),s=On(2);o.firstUpdatePass&&Wy(o,e,s,i),n!==Z&&Ae(r,s,n)&&Qy(o,o.data[Je()],r,r[j],e,r[s+1]=function n1(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=je(Wn(e)))),e}(n,t),i,s)}function qy(e,n){return n>=e.expandoStartIndex}function Wy(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[Je()],s=qy(e,t);Ky(o,i)&&null===n&&!s&&(n=!1),n=function QN(e,n,t,i){const r=function Cu(e){const n=U.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=is(t=Df(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Df(r,e,n,t,i),null===o){let l=function YN(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Ri(i))return e[Jn(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Df(null,e,n,l[1],i),l=is(l,n.attrs,i),function KN(e,n,t,i){e[Jn(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function JN(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,r)if(0!==l){const h=Jn(e[a+1]);e[i+1]=fl(h,a),0!==h&&(e[h+1]=yf(e[h+1],i)),e[a+1]=function PN(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=fl(a,0),0!==a&&(e[a+1]=yf(e[a+1],i)),a=i;else e[i+1]=fl(l,0),0===a?a=i:e[l+1]=yf(e[l+1],i),l=i;c&&(e[i+1]=_f(e[i+1])),Hy(e,u,i,!0),Hy(e,u,i,!1),function HN(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ji(o,n)>=0&&(t[i+1]=Cf(t[i+1]))}(n,u,e,i,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Df(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[r+1];h===Z&&(h=d?se:void 0);let p=d?Zc(h,i):u===i?h:void 0;if(c&&!pl(p)&&(p=Zc(l,i)),pl(p)&&(a=p,s))return a;const g=e[r+1];r=s?Jn(g):Ri(g)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Zc(l,i))}return a}function pl(e){return void 0!==e}function Ky(e,n){return!!(e.flags&(n?8:16))}function Cn(e,n,t){!function tn(e,n,t,i){const r=J(),o=On(2);r.firstUpdatePass&&Wy(r,null,o,i);const s=D();if(t!==Z&&Ae(s,o,t)){const a=r.data[Je()];if(Ky(a,i)&&!qy(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Ac(l,t||"")),wf(r,a,s,t,i)}else!function t1(e,n,t,i,r,o,s,a){r===Z&&(r=se);let l=0,c=0,u=0(fn(!0),Ba(i,r,function Vg(){return U.lFrame.currentNamespace}()));function ee(e,n,t){const i=D(),r=J(),o=e+L,s=r.firstCreatePass?function S1(e,n,t,i,r){const o=n.consts,s=Ht(o,i),a=Ii(n,e,8,"ng-container",s);return null!==s&&nl(a,s,!0),Id(n,t,a,Ht(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Kt(s,!0);const a=iC(r,i,s,e);return i[o]=a,vo()&&Ua(r,i,a,s),rt(a,i),ca(s)&&(Dd(r,i,s),wd(r,s,i)),null!=t&&bd(i,s),ee}function te(){let e=he();const n=J();return vu()?_u():(e=e.parent,Kt(e,!1)),n.firstCreatePass&&(ga(n,e),lu(e)&&n.queries.elementEnd(e)),te}let iC=(e,n,t,i)=>(fn(!0),fd(n[j],""));function Ee(){return D()}const ml="en-US";let lC=ml,MC=(e,n,t)=>{};function q(e,n,t,i){const r=D(),o=J(),s=he();return Tf(o,r,r[j],s,e,n,i),q}function Tf(e,n,t,i,r,o,s){const a=ca(i),c=e.firstCreatePass&&jv(e),u=n[_e],d=Bv(n);let h=!0;if(3&i.type||s){const C=lt(i,n),b=s?s(C):C,M=d.length,w=s?Q=>s(ae(Q[i.index])):i.index;let F=null;if(!s&&a&&(F=function CA(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==F)(F.__ngLastListenerFn__||F).__ngNextListenerFn__=o,F.__ngLastListenerFn__=o,h=!1;else{o=OC(i,n,u,o),MC(C,r,o);const Q=t.listen(b,r,o);d.push(o,Q),c&&c.push(r,w,M,M+1)}}else o=OC(i,n,u,o);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const C=g.length;if(C)for(let b=0;b-1?Ot(e.index,n):n,5);let a=xC(n,t,i,o),l=r.__ngNextListenerFn__;for(;l;)a=xC(n,t,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function v(e=1){return function n0(e){return(U.lFrame.contextLView=function Dg(e,n){for(;e>0;)n=n[ir],e--;return n}(e,U.lFrame.contextLView))[_e]}(e)}function kn(e,n,t){return xf(e,"",n,"",t),kn}function xf(e,n,t,i,r){const o=D(),s=kr(o,n,t,i);return s!==Z&&wt(J(),ye(),o,e,s,o[j],r,!1),xf}function HC(e,n,t,i){!function k_(e,n,t,i){const r=J();if(r.firstCreatePass){const o=he();P_(r,new N_(n,t,i),o.index),function EO(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return R_(r,D(),t)}(e,n,t,i)}function Lt(e,n,t){!function L_(e,n,t){const i=J();return i.firstCreatePass&&(P_(i,new N_(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),R_(i,D(),n)}(e,n,t)}function bt(e){const n=D(),t=J(),i=wu();pa(i+1);const r=tf(t,i);if(e.dirty&&function UM(e){return!(4&~e[P])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=F_(n,i);e.reset(o,hm),e.notifyOnChanges()}return!0}return!1}function Et(){return function ef(e,n){return e[Sn].queries[n].queryList}(D(),wu())}function E(e,n=""){const t=D(),i=J(),r=e+L,o=i.firstCreatePass?Ii(i,r,1,n,null):i.data[r],s=QC(i,t,o,n,e);t[r]=s,vo()&&Ua(i,t,s,o),Kt(o,!1)}let QC=(e,n,t,i,r)=>(fn(!0),function dd(e,n){return e.createText(n)}(n[j],i));function N(e){return Y("",e,""),N}function Y(e,n,t){const i=D(),r=kr(i,e,n,t);return r!==Z&&function An(e,n,t){const i=po(n,e);!function pv(e,n,t){e.setValue(n,t)}(e[j],i,t)}(i,Je(),r),Y}function Xe(e,n,t){j_(n)&&(n=n());const i=D();return Ae(i,Jt(),n)&&wt(J(),ye(),i,e,n,i[j],t,!1),Xe}function xe(e,n){const t=j_(e);return t&&e.set(n),t}function ot(e,n){const t=D(),i=J(),r=he();return Tf(i,t,t[j],r,e,n),ot}function Nf(e,n,t,i,r){if(e=B(e),Array.isArray(e))for(let o=0;o>20;if(hi(e)||!e.multi){const p=new _o(c,r,S),g=Rf(l,n,r?u:u+h,d);-1===g?(Ou(ya(a,s),o,l),Af(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[g]=p,s[g]=p)}else{const p=Rf(l,n,u+h,d),g=Rf(l,n,u,u+h),b=g>=0&&t[g];if(r&&!b||!r&&!(p>=0&&t[p])){Ou(ya(a,s),o,l);const M=function GA(e,n,t,i,r){const o=new _o(e,t,S);return o.multi=[],o.index=n,o.componentProviders=0,sw(o,r,i&&!t),o}(r?zA:$A,t.length,r,i,c);!r&&b&&(t[g].providerFactory=M),Af(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(M),s.push(M)}else Af(o,e,p>-1?p:g,sw(t[r?g:p],c,!r&&i));!r&&i&&b&&t[g].componentProviders++}}}function Af(e,n,t,i){const r=hi(n),o=function _M(e){return!!e.useClass}(n);if(r||o){const l=(o?B(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function sw(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Rf(e,n,t,i){for(let r=t;r{t.providersResolver=(i,r)=>function UA(e,n,t){const i=J();if(i.firstCreatePass){const r=Yt(e);Nf(t,i.data,i.blueprint,r,!0),Nf(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function cs(e,n,t,i){return function cw(e,n,t,i,r,o){const s=n+t;return Ae(e,s,r)?vn(e,s+1,o?i.call(o,r):i(r)):us(e,s+1)}(D(),ct(),e,n,t,i)}function kf(e,n,t,i,r){return function uw(e,n,t,i,r,o,s){const a=n+t;return Ni(e,a,r,o)?vn(e,a+2,s?i.call(s,r,o):i(r,o)):us(e,a+2)}(D(),ct(),e,n,t,i,r)}function We(e,n,t,i,r,o){return dw(D(),ct(),e,n,t,i,r,o)}function us(e,n){const t=e[n];return t===Z?void 0:t}function dw(e,n,t,i,r,o,s,a){const l=n+t;return function sl(e,n,t,i,r){const o=Ni(e,n,t,i);return Ae(e,n+2,r)||o}(e,l,r,o,s)?vn(e,l+3,a?i.call(a,r,o,s):i(r,o,s)):us(e,l+3)}function gw(e,n,t,i,r){const o=e+L,s=D(),a=function mi(e,n){return e[n]}(s,o);return function ds(e,n){return e[x].data[n].pure}(s,o)?dw(s,ct(),n,a.transform,t,i,r,a):a.transform(t,i,r)}const kw=new R(""),Il=new R("");let $f,jf=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,$f||(function iL(e){$f=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!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(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(oe(pe),oe(Uf),oe(Il))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),Uf=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return $f?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Ml(e){return!!e&&"function"==typeof e.then}function Pw(e){return!!e&&"function"==typeof e.subscribe}const rL=new R("");let Fw=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=k(rL,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=r();if(Ml(o))t.push(o);else if(Pw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const zf=new R("");function Hw(e,n){return Array.isArray(n)?n.reduce(Hw,e):{...e,...n}}let Pn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(B0),this.afterRenderManager=k(dy),this.zonelessEnabled=k(qo),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new sn,this.afterTick=new sn,this.componentTypes=[],this.components=[],this.isStable=k(ur).hasPendingTasks.pipe(Oc(t=>!t)),this._injector=k(Zt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof y_;if(!this._injector.get(Fw).done)throw!r&&function fi(e){const n=X(e)||Ue(e)||Ye(e);return null!==n&&n.standalone}(t),new T(405,!1);let s;s=r?t:this._injector.get(el).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function oL(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(it.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(kw,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Sl(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);const t=K(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,K(t),this.afterTick.next()}}synchronize(){let t=null;this._injector.destroyed||(t=this._injector.get(zd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;0!==this.dirtyFlags&&i++<10;)this.synchronizeOnce(t)}synchronizeOnce(t){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)lL(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else t?.begin?.(),t?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>ua(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sl(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(zf,[]);[...this._bootstrapListeners,...i].forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Sl(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sl(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function lL(e,n,t,i){(t||ua(e))&&Wa(e,n,t&&!i?0:1)}let fL=(()=>{class e{constructor(){this.zone=k(pe),this.changeDetectionScheduler=k(br),this.applicationRef=k(Pn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gf({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new pe({...qf(),scheduleInRootZone:t}),[{provide:pe,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=k(fL,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=k(pL);return()=>{i.initialize()}}},!0===n?{provide:__,useValue:!0}:[],{provide:$d,useValue:t??sm}]}function qf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let pL=(()=>{class e{constructor(){this.subscription=new It,this.initialized=!1,this.zone=k(pe),this.pendingTasks=k(ur)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ps=(()=>{class e{constructor(){this.appRef=k(Pn),this.taskService=k(ur),this.ngZone=k(pe),this.zonelessEnabled=k(qo),this.disableScheduling=k(__,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new It,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ia):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(k($d,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Fu||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?lm:am;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ia+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,lm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Xn=new R("",{providedIn:"root",factory:()=>k(Xn,ie.Optional|ie.SkipSelf)||function gL(){return typeof $localize<"u"&&$localize.locale||ml}()}),Zf=new R("");function xl(e){return!!e.platformInjector}let qw=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[Gf({ngZoneFactory:()=>function H0(e="zone.js",n){return"noop"===e?new Fu:"zone.js"===e?new pe(n):e}(i?.ngZone,{...qf({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:br,useExisting:ps}],l=function WO(e,n,t){return new rf(e,n,t,!1)}(t.moduleType,this.injector,a);return function Gw(e){const n=xl(e)?e.r3Injector:e.moduleRef.injector,t=n.get(pe);return t.run(()=>{xl(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(pn,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),xl(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Zf);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else e.moduleRef.onDestroy(()=>{Sl(e.allPlatformModules,e.moduleRef),r.unsubscribe()});return function aL(e,n,t){try{const i=t();return Ml(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(Fw);return o.runInitializers(),o.donePromise.then(()=>{if(function P1(e){"string"==typeof e&&(lC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Xn,ml)||ml),xl(e)){const a=n.get(Pn);return void 0!==e.rootComponent&&a.bootstrap(e.rootComponent),a}return function wL(e,n){const t=e.injector.get(Pn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new T(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules})}bootstrapModule(t,i=[]){const r=Hw({},i);return function dL(e,n,t){const i=new of(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Zf,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(oe(it))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),ei=null;const Ww=new R("");function Zw(e,n,t=[]){const i=`Platform: ${n}`,r=new R(i);return(o=[])=>{let s=Qf();if(!s||s.injector.get(Ww,!1)){const a=[...t,...o,{provide:r,useValue:!0}];e?e(a):function DL(e){if(ei&&!ei.get(Ww,!1))throw new T(400,!1);(function Vw(){!function dI(e){vp=e}(()=>{throw new T(600,!1)})})(),ei=e;const n=e.get(qw);(function Yw(e){e.get(Rm,null)?.forEach(t=>t())})(e)}(function Qw(e=[],n){return it.create({name:n,providers:[{provide:tu,useValue:"platform"},{provide:Zf,useValue:new Set([()=>ei=null])},...e]})}(a,i))}return function bL(){const n=Qf();if(!n)throw new T(401,!1);return n}()}}function Qf(){return ei?.get(qw)??null}let ki=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=IL}return e})();function IL(e){return function ML(e,n,t){if(gi(e)&&!t){const i=Ot(e.index,n);return new Vo(i,i)}return 175&e.type?new Vo(n[Te],n):null}(he(),D(),!(16&~e))}class tD{constructor(){}supports(n){return ol(n)}create(n){return new NL(n)}}const OL=(e,n)=>n;class NL{constructor(n){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=n||OL}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new AL(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new nD),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nD),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class AL{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class RL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class nD{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new RL,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function iD(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new kL(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class kL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function oD(){return new eh([new tD])}let eh=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:oD});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||oD()),deps:[[e,new qc,new Gc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new T(901,!1)}}return e})();function sD(){return new Al([new rD])}let Al=(()=>{class e{static#e=this.\u0275prov=ne({token:e,providedIn:"root",factory:sD});constructor(t){this.factories=t}static create(t,i){if(i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||sD()),deps:[[e,new qc,new Gc]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(i)return i;throw new T(901,!1)}}return e})();const VL=Zw(null,"core",[]);let HL=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Pn))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function _s(e,n){dt("NgSignals");const t=function lI(e){const n=Object.create(cI);n.computation=e;const t=()=>{if(up(n),mc(n),n.value===Fs)throw n.error;return n.value};return t[zt]=n,t}(e);return n?.equal&&(t[zt].equal=n.equal),t}function wn(e){const n=K(null);try{return e()}finally{K(n)}}let xD=null;function ys(){return xD}class bk{}const Fi=new R(""),hh=/\s+/,VD=[];let Zr=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=VD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(hh):VD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(hh):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(hh).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class dP{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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}}let Vi=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new dP(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),BD(a,r)}});for(let r=0,o=i.length;r{BD(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn),S(eh))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function BD(e,n){e.context.$implicit=n.item}let Hn=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new fP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){jD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){jD("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn),S(Rn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class fP{constructor(){this.$implicit=null,this.ngIf=null}}function jD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${je(n)}'.`)}let $D=(()=>{class e{constructor(t,i,r){this._ngEl=t,this._differs=i,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[r,o]=t.split("."),s=-1===r.indexOf("-")?void 0:Qn.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Al),S(Xt))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),zD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(S(mn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[un]})}return e})();let qD=(()=>{class e{transform(t,i,r){if(null==t)return null;if(!this.supports(t))throw function rn(e,n){return new T(2100,!1)}();return t.slice(i,r)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=yt({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),WD=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})();function QD(e){return"server"===e}class pF extends bk{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wh extends pF{static makeCurrent(){!function Dk(e){xD??=e}(new wh)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function gF(){return bs=bs||document.querySelector("base"),bs?bs.getAttribute("href"):null}();return null==t?null:function mF(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){bs=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function cP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let bs=null,_F=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Dh=new R("");let sb=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Dh),oe(pe))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class ab{constructor(n){this._doc=n}}const bh="ng-app-id";let lb=(()=>{class e{constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=QD(o),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${bh}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const o=r.get(t);return o.usage+=i,o.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===t)return r.delete(i),o.removeAttribute(bh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(bh,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi),oe(hr),oe(Lm,8),oe(wi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const Eh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ih=/%COMP%/g,DF=new R("",{providedIn:"root",factory:()=>!0});function ub(e,n){return n.map(t=>t.replace(Ih,e))}let db=(()=>{class e{constructor(t,i,r,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=QD(a),this.defaultRenderer=new Mh(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Gt.ShadowDom&&(i={...i,encapsulation:Gt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof hb?r.applyToHost(t):r instanceof Sh&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Gt.Emulated:o=new hb(l,c,i,this.appId,u,s,a,d);break;case Gt.ShadowDom:return new MF(l,c,t,i,s,a,this.nonce,d);default:o=new Sh(l,c,i,u,s,a,d)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(oe(sb),oe(lb),oe(hr),oe(DF),oe(Fi),oe(wi),oe(pe),oe(Lm))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();class Mh{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Eh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(fb(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(fb(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Eh[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Eh[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(Qn.DashCase|Qn.Important)?n.style.setProperty(t,i,r&Qn.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=ys().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function fb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class MF extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=ub(r.id,r.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Sh extends Mh{constructor(n,t,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=l?ub(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class hb extends Sh{constructor(n,t,i,r,o,s,a,l){const c=r+"-"+i.id;super(n,t,i,o,s,a,l,c),this.contentAttr=function bF(e){return"_ngcontent-%COMP%".replace(Ih,e)}(c),this.hostAttr=function EF(e){return"_nghost-%COMP%".replace(Ih,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let SF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const pb=["alt","control","meta","shift"],TF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OF=(()=>{class e extends ab{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ys().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),pb.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=TF[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),pb.forEach(s=>{s!==r&&(0,xF[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(oe(Fi))};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})();const LF=Zw(VL,"browser",[{provide:wi,useValue:"browser"},{provide:Rm,useValue:function NF(){wh.makeCurrent()},multi:!0},{provide:Fi,useFactory:function RF(){return function lS(e){$u=e}(document),document},deps:[]}]),kF=new R(""),vb=[{provide:Il,useClass:class vF{addToWindow(n){be.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new T(5103,!1);return o},be.getAllAngularTestabilities=()=>n.getAllTestabilities(),be.getAllAngularRootElements=()=>n.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(i=>{const r=be.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?ys().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:kw,useClass:jf,deps:[pe,Uf,Il]},{provide:jf,useClass:jf,deps:[pe,Uf,Il]}],_b=[{provide:tu,useValue:"root"},{provide:pn,useFactory:function AF(){return new pn},deps:[]},{provide:Dh,useClass:SF,multi:!0,deps:[Fi,pe,wi]},{provide:Dh,useClass:OF,multi:!0,deps:[Fi]},db,lb,sb,{provide:zd,useExisting:db},{provide:class BP{},useClass:_F,deps:[]},[]];let PF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:hr,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(oe(kF,12))};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({providers:[..._b,...vb],imports:[WD,HL]})}return e})();function ti(e){return this instanceof ti?(this.v=e,this):new ti(e)}function Eb(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Nh(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Ib=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Mb(e){return Pe(e?.then)}function Sb(e){return Pe(e[Tc])}function Tb(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function xb(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ob=function a2(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Nb(e){return Pe(e?.[Ob])}function Ab(e){return function bb(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},a("next"),a("throw"),a("return",function s(p){return function(g){return Promise.resolve(g).then(p,d)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(p,g){i[p]&&(r[p]=function(C){return new Promise(function(b,M){o.push([p,C,b,M])>1||l(p,C)})},g&&(r[p]=g(r[p])))}function l(p,g){try{!function c(p){p.value instanceof ti?Promise.resolve(p.value.v).then(u,d):h(o[0][2],p)}(i[p](g))}catch(C){h(o[0][3],C)}}function u(p){l("next",p)}function d(p){l("throw",p)}function h(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield ti(t.read());if(r)return yield ti(void 0);yield yield ti(i)}}finally{t.releaseLock()}})}function Rb(e){return Pe(e?.getReader)}function Es(e){if(e instanceof Mt)return e;if(null!=e){if(Sb(e))return function l2(e){return new Mt(n=>{const t=e[Tc]();if(Pe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ib(e))return function c2(e){return new Mt(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ip)})}(e);if(Tb(e))return Lb(e);if(Nb(e))return function d2(e){return new Mt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(Rb(e))return function f2(e){return Lb(Ab(e))}(e)}throw xb(e)}function Lb(e){return new Mt(n=>{(function h2(e,n){var t,i,r,o;return function wb(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Eb(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function kb(e,n=0){return ui((t,i)=>{t.subscribe(Bn(i,r=>Bi(i,e,()=>i.next(r),n),()=>Bi(i,e,()=>i.complete(),n),r=>Bi(i,e,()=>i.error(r),n)))})}function Pb(e,n=0){return ui((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function Fb(e,n){if(!e)throw new Error("Iterable cannot be null");return new Mt(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}const{isArray:w2}=Array,{getPrototypeOf:D2,prototype:b2,keys:E2}=Object;const{isArray:T2}=Array;function N2(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function A2(...e){const n=function S2(e){return Pe(function Ah(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:t,keys:i}=function I2(e){if(1===e.length){const n=e[0];if(w2(n))return{args:n,keys:null};if(function M2(e){return e&&"object"==typeof e&&D2(e)===b2}(n)){const t=E2(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}(e),r=new Mt(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?N2(i,a):a),o.complete())}))}});return n?r.pipe(function O2(e){return Oc(n=>function x2(e,n){return T2(n)?e(...n):e(n)}(e,n))}(n)):r}let Vb=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut))};static#t=this.\u0275dir=$({type:e})}return e})(),ji=(()=>{class e extends Vb{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[ce]})}return e})();const on=new R(""),R2={provide:on,useExisting:ge(()=>Rh),multi:!0};let Rh=(()=>{class e extends ji{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[Ie([R2]),ce]})}return e})();const L2={provide:on,useExisting:ge(()=>Is),multi:!0},P2=new R("");let Is=(()=>{class e extends Vb{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function k2(){const e=ys()?ys().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(P2,8))};static#t=this.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&q("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ie([L2]),ce]})}return e})();const st=new R(""),ii=new R("");function Zb(e){return null!=e}function Qb(e){return Ml(e)?function C2(e,n){return n?function y2(e,n){if(null!=e){if(Sb(e))return function p2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Ib(e))return function m2(e,n){return new Mt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(Mb(e))return function g2(e,n){return Es(e).pipe(Pb(n),kb(n))}(e,n);if(Tb(e))return Fb(e,n);if(Nb(e))return function v2(e,n){return new Mt(t=>{let i;return Bi(t,n,()=>{i=e[Ob](),Bi(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Pe(i?.return)&&i.return()})}(e,n);if(Rb(e))return function _2(e,n){return Fb(Ab(e),n)}(e,n)}throw xb(e)}(e,n):Es(e)}(e):e}function Yb(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Kb(e,n){return n.map(t=>t(e))}function Jb(e){return e.map(n=>function V2(e){return!e.validate}(n)?n:t=>n.validate(t))}function Lh(e){return null!=e?function Xb(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return Yb(Kb(t,n))}}(Jb(e)):null}function kh(e){return null!=e?function eE(e){if(!e)return null;const n=e.filter(Zb);return 0==n.length?null:function(t){return A2(Kb(t,n).map(Qb)).pipe(Oc(Yb))}}(Jb(e)):null}function tE(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Ph(e){return e?Array.isArray(e)?e:[e]:[]}function tc(e,n){return Array.isArray(e)?e.includes(n):e===n}function rE(e,n){const t=Ph(n);return Ph(e).forEach(r=>{tc(t,r)||t.push(r)}),t}function oE(e,n){return Ph(n).filter(t=>!tc(e,t))}class sE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Lh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=kh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class mt extends sE{get formDirective(){return null}get path(){return null}}class ri extends sE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class aE{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let nc=(()=>{class e extends aE{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ri,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ln("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ce]})}return e})();const Ms="VALID",rc="INVALID",Yr="PENDING",Ss="DISABLED";class Kr{}class cE extends Kr{constructor(n,t){super(),this.value=n,this.source=t}}class Hh extends Kr{constructor(n,t){super(),this.pristine=n,this.source=t}}class Bh extends Kr{constructor(n,t){super(),this.touched=n,this.source=t}}class oc extends Kr{constructor(n,t){super(),this.status=n,this.source=t}}function sc(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class $h{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_s(()=>this.statusReactive()),this.statusReactive=Er(void 0),this._pristine=_s(()=>this.pristineReactive()),this.pristineReactive=Er(!0),this._touched=_s(()=>this.touchedReactive()),this.touchedReactive=Er(!1),this._events=new sn,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return wn(this.statusReactive)}set status(n){wn(()=>this.statusReactive.set(n))}get valid(){return this.status===Ms}get invalid(){return this.status===rc}get pending(){return this.status==Yr}get disabled(){return this.status===Ss}get enabled(){return this.status!==Ss}get pristine(){return wn(this.pristineReactive)}set pristine(n){wn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return wn(this.touchedReactive)}set touched(n){wn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oE(n,this._rawAsyncValidators))}hasValidator(n){return tc(this._rawValidators,n)}hasAsyncValidator(n){return tc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Bh(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new Bh(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Hh(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Hh(!0,i))}markAsPending(n={}){this.status=Yr;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new oc(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,i)),this._events.next(new oc(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ms||this.status===Yr)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cE(this.value,t)),this._events.next(new oc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ss:Ms}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Yr,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=Qb(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new oc(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new Ce,this.statusChanges=new Ce}_calculateStatus(){return this._allControlsDisabled()?Ss:this.errors?rc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Yr)?Yr:this._anyControlsHaveStatus(rc)?rc:Ms}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Hh(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new Bh(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){sc(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function q2(e){return Array.isArray(e)?Lh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function W2(e){return Array.isArray(e)?kh(e):e||null}(this._rawAsyncValidators)}}const Jr=new R("CallSetDisabledState",{providedIn:"root",factory:()=>ac}),ac="always";function Ts(e,n,t=ac){(function Gh(e,n){const t=function nE(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(tE(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function iE(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(tE(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();uc(n._rawValidators,r),uc(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Y2(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fE(e,n)})}(e,n),function J2(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function K2(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fE(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Q2(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function uc(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function fE(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function gE(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function mE(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const vE=class extends $h{constructor(n=null,t,i){super(function jh(e){return(sc(e)?e.validators:e)||null}(t),function Uh(e,n){return(sc(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),sc(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=mE(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){mE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},sV={provide:ri,useExisting:ge(()=>Os)},CE=Promise.resolve();let Os=(()=>{class e extends ri{constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new vE,this._registered=!1,this.name="",this.update=new Ce,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Zh(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Is?t=o:function tV(e){return Object.getPrototypeOf(e.constructor)===ji}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Wh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ts(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){CE.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&function ih(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);CE.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function lc(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(S(mt,9),S(st,10),S(ii,10),S(on,10),S(ki,8),S(Jr,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ie([sV]),ce,un]})}return e})();const dV={provide:on,useExisting:ge(()=>Yh),multi:!0};let Yh=(()=>{class e extends ji{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[Ie([dV]),ce]})}return e})();const vV={provide:on,useExisting:ge(()=>Ns),multi:!0};function SE(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ns=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const r=SE(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function _V(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([vV]),ce]})}return e})(),ep=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(SE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(Ns,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const yV={provide:on,useExisting:ge(()=>tp),multi:!0};function TE(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let tp=(()=>{class e extends ji{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{let t;return function(r){return(t||(t=nt(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&q("change",function(s){return r.onChange(s.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ie([yV]),ce]})}return e})(),np=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(TE(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(tp,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),xV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({})}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Jr,useValue:t.callSetDisabledState??ac}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e});static#n=this.\u0275inj=En({imports:[xV]})}return e})();class AV extends It{constructor(n,t){super()}schedule(n,t=0){return this}}const fc={setInterval(e,n,...t){const{delegate:i}=fc;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=fc;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},VE={now:()=>(VE.delegate||Date).now(),delegate:void 0};class As{constructor(n,t=As.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}As.now=VE.now;const HE=new class LV extends As{constructor(n,t=As.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class RV extends AV{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return fc.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&fc.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hs(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),kV=HE;function BE(e,n=HE,t){const i=function HV(e=0,n,t=kV){let i=-1;return null!=n&&(function FV(e){return e&&Pe(e.schedule)}(n)?t=n:i=n),new Mt(r=>{let o=function VV(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n);return function PV(e,n){return ui((t,i)=>{const{leading:r=!0,trailing:o=!1}=n??{};let s=!1,a=null,l=null,c=!1;const u=()=>{l?.unsubscribe(),l=null,o&&(p(),c&&i.complete())},d=()=>{l=null,c&&i.complete()},h=g=>l=Es(e(g)).subscribe(Bn(i,u,d)),p=()=>{if(s){s=!1;const g=a;a=null,i.next(g),!c&&h(g)}};t.subscribe(Bn(i,g=>{s=!0,a=g,(!l||l.closed)&&(r?p():h(g))},()=>{c=!0,(!(o&&s&&l)||l.closed)&&i.complete()}))})}(()=>i,t)}function jE(e,n,t){const i=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return i?ui((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Bn(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):xc}function UE(e,n=xc){return e=e??BV,ui((t,i)=>{let r,o=!0;t.subscribe(Bn(i,s=>{const a=n(s);(o||!e(r,a))&&(o=!1,r=a,i.next(s))}))})}function BV(e,n){return e===n}var Pt=typeof window<"u"?window:{screen:{},navigator:{}},Xr=(Pt.matchMedia||function(){return{matches:!1}}).bind(Pt),$E=!1,zE=function(){};Pt.addEventListener&&Pt.addEventListener("p",zE,{get passive(){return $E=!0}}),Pt.removeEventListener&&Pt.removeEventListener("p",zE,!1);var GE=$E,rp="ontouchstart"in Pt,WE=(rp||"TouchEvent"in Pt&&Xr("(any-pointer: coarse)"),Pt.navigator.userAgent||"");Xr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(WE)&&Math.min(Pt.screen.width||0,Pt.screen.height||0);(Xr("(pointer: coarse)").matches||!Xr("(pointer: fine)").matches&&rp)&&/Windows.*Firefox/.test(WE),Xr("(any-pointer: fine)").matches||Xr("(any-hover: hover)");const WV=(e,n,t)=>({tooltip:e,placement:n,content:t});function ZV(e,n){}function QV(e,n){1&e&&V(0,ZV,0,0,"ng-template")}function YV(e,n){if(1&e&&(ee(0),V(1,QV,1,0,null,1),te()),2&e){const t=v();f(),m("ngTemplateOutlet",t.template)("ngTemplateOutletContext",We(2,WV,t.tooltip,t.placement,t.content))}}function KV(e,n){if(1&e&&(ee(0),y(1,"div",2),E(2),_(),te()),2&e){const t=v();f(),ft("title",t.tooltip)("data-tooltip-placement",t.placement),f(),Y(" ",t.content," ")}}const JV=["tooltipTemplate"],XV=["leftOuterSelectionBar"],eH=["rightOuterSelectionBar"],tH=["fullBar"],nH=["selectionBar"],iH=["minHandle"],rH=["maxHandle"],oH=["floorLabel"],sH=["ceilLabel"],aH=["minHandleLabel"],lH=["maxHandleLabel"],cH=["combinedLabel"],uH=["ticksElement"],dH=e=>({"ngx-slider-selected":e});function fH(e,n){if(1&e&&O(0,"ngx-slider-tooltip-wrapper",32),2&e){const t=v().$implicit;m("template",v().tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function hH(e,n){1&e&&O(0,"span",33),2&e&&m("innerText",v().$implicit.legend)}function pH(e,n){1&e&&O(0,"span",34),2&e&&m("innerHTML",v().$implicit.legend,rv)}function gH(e,n){if(1&e&&(y(0,"span",27),O(1,"ngx-slider-tooltip-wrapper",28),V(2,fH,1,4,"ngx-slider-tooltip-wrapper",29)(3,hH,1,1,"span",30)(4,pH,1,1,"span",31),_()),2&e){const t=n.$implicit,i=v();m("ngClass",cs(8,dH,t.selected))("ngStyle",t.style),f(),m("template",i.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),f(),m("ngIf",null!=t.value),f(),m("ngIf",null!=t.legend&&!1===i.allowUnsafeHtmlInSlider),f(),m("ngIf",null!=t.legend&&(null==i.allowUnsafeHtmlInSlider||i.allowUnsafeHtmlInSlider))}}var Dn=function(e){return e[e.Low=0]="Low",e[e.High=1]="High",e[e.Floor=2]="Floor",e[e.Ceil=3]="Ceil",e[e.TickValue=4]="TickValue",e}(Dn||{});class hc{floor=0;ceil=null;step=1;minRange=null;maxRange=null;pushRange=!1;minLimit=null;maxLimit=null;translate=null;combineLabels=null;getLegend=null;getStepLegend=null;stepsArray=null;bindIndexForStepsArray=!1;draggableRange=!1;draggableRangeOnly=!1;showSelectionBar=!1;showSelectionBarEnd=!1;showSelectionBarFromValue=null;showOuterSelectionBars=!1;hidePointerLabels=!1;hideLimitLabels=!1;autoHideLimitLabels=!0;readOnly=!1;disabled=!1;showTicks=!1;showTicksValues=!1;tickStep=null;tickValueStep=null;ticksArray=null;ticksTooltip=null;ticksValuesTooltip=null;vertical=!1;getSelectionBarColor=null;getTickColor=null;getPointerColor=null;keyboardSupport=!0;scale=1;rotate=0;enforceStep=!0;enforceRange=!0;enforceStepsArray=!0;noSwitching=!1;onlyBindHandles=!1;rightToLeft=!1;reversedControls=!1;boundPointerLabels=!0;logScale=!1;customValueToPosition=null;customPositionToValue=null;precisionLimit=12;selectionBarGradient=null;ariaLabel="ngx-slider";ariaLabelledBy=null;ariaLabelHigh="ngx-slider-max";ariaLabelledByHigh=null;handleDimension=null;barDimension=null;animate=!0;animateOnMove=!1}const YE=new R("AllowUnsafeHtmlInSlider");var A=function(e){return e[e.Min=0]="Min",e[e.Max=1]="Max",e}(A||{});class mH{value;highValue;pointerType}class I{static isNullOrUndefined(n){return null==n}static areArraysEqual(n,t){if(n.length!==t.length)return!1;for(let i=0;iMath.abs(n-o.value));let r=0;for(let o=0;o{o.events.next(a)};return n.addEventListener(t,s,{passive:!0,capture:!1}),o.teardownCallback=()=>{n.removeEventListener(t,s,{passive:!0,capture:!1})},o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}detachEventListener(n){I.isNullOrUndefined(n.eventsSubscription)||(n.eventsSubscription.unsubscribe(),n.eventsSubscription=null),I.isNullOrUndefined(n.events)||(n.events.complete(),n.events=null),I.isNullOrUndefined(n.teardownCallback)||(n.teardownCallback(),n.teardownCallback=null)}attachEventListener(n,t,i,r){const o=new KE;return o.eventName=t,o.events=new sn,o.teardownCallback=this.renderer.listen(n,t,a=>{o.events.next(a)}),o.eventsSubscription=o.events.pipe(I.isNullOrUndefined(r)?jE(()=>{}):BE(r,void 0,{leading:!0,trailing:!0})).subscribe(a=>{i(a)}),o}}let si=(()=>{class e{elemRef;renderer;changeDetectionRef;_position=0;get position(){return this._position}_dimension=0;get dimension(){return this._dimension}_alwaysHide=!1;get alwaysHide(){return this._alwaysHide}_vertical=!1;get vertical(){return this._vertical}_scale=1;get scale(){return this._scale}_rotate=0;get rotate(){return this._rotate}opacity=1;visibility="visible";left="";bottom="";height="";width="";transform="";eventListenerHelper;eventListeners=[];constructor(t,i,r){this.elemRef=t,this.renderer=i,this.changeDetectionRef=r,this.eventListenerHelper=new JE(this.renderer)}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension!==t&&!this.isRefDestroyed()&&this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,i,r){const o=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}onPassive(t,i,r){const o=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,i,r);this.eventListeners.push(o)}off(t){let i,r;I.isNullOrUndefined(t)?(i=[],r=this.eventListeners):(i=this.eventListeners.filter(o=>o.eventName!==t),r=this.eventListeners.filter(o=>o.eventName===t));for(const o of r)this.eventListenerHelper.detachEventListener(o);this.eventListeners=i}isRefDestroyed(){return I.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(i,r){2&i&&hl("opacity",r.opacity)("visibility",r.visibility)("left",r.left)("bottom",r.bottom)("height",r.height)("width",r.width)("transform",r.transform)}})}return e})(),op=(()=>{class e extends si{active=!1;role="";tabindex="";ariaOrientation="";ariaLabel="";ariaLabelledBy="";ariaValueNow="";ariaValueText="";ariaValueMin="";ariaValueMax="";focus(){this.elemRef.nativeElement.focus()}focusIfNeeded(){document.activeElement!==this.elemRef.nativeElement&&this.elemRef.nativeElement.focus()}constructor(t,i,r){super(t,i,r)}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki))};static \u0275dir=$({type:e,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(i,r){2&i&&(ft("role",r.role)("tabindex",r.tabindex)("aria-orientation",r.ariaOrientation)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledBy)("aria-valuenow",r.ariaValueNow)("aria-valuetext",r.ariaValueText)("aria-valuemin",r.ariaValueMin)("aria-valuemax",r.ariaValueMax),Ln("ngx-slider-active",r.active))},features:[ce]})}return e})(),eo=(()=>{class e extends si{allowUnsafeHtmlInSlider;_value=null;get value(){return this._value}constructor(t,i,r,o){super(t,i,r),this.allowUnsafeHtmlInSlider=o}setValue(t){let i=!1;!this.alwaysHide&&(I.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(i=!0),this._value=t,!1===this.allowUnsafeHtmlInSlider?this.elemRef.nativeElement.innerText=t:this.elemRef.nativeElement.innerHTML=t,i&&this.calculateDimension()}static \u0275fac=function(i){return new(i||e)(S(ut),S(Xt),S(ki),S(YE,8))};static \u0275dir=$({type:e,selectors:[["","ngxSliderLabel",""]],features:[ce]})}return e})(),vH=(()=>{class e{template;tooltip;placement;content;static \u0275fac=function(i){return new(i||e)};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(i,r){1&i&&V(0,YV,2,6,"ng-container",0)(1,KV,3,3,"ng-container",0),2&i&&(m("ngIf",r.template),f(),m("ngIf",!r.template))},dependencies:[Hn,zD],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]})}return e})();class _H{selected=!1;style={};tooltip=null;tooltipPlacement=null;value=null;valueTooltip=null;valueTooltipPlacement=null;legend=null}class XE{active=!1;value=0;difference=0;position=0;lowLimit=0;highLimit=0}class pc{value;highValue;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue}}class eI extends pc{forceChange;static compare(n,t){return!(I.isNullOrUndefined(n)&&I.isNullOrUndefined(t)||I.isNullOrUndefined(n)!==I.isNullOrUndefined(t))&&n.value===t.value&&n.highValue===t.highValue&&n.forceChange===t.forceChange}}const yH={provide:on,useExisting:ge(()=>tI),multi:!0};let tI=(()=>{class e{renderer;elementRef;changeDetectionRef;zone;allowUnsafeHtmlInSlider;sliderElementNgxSliderClass=!0;value=null;valueChange=new Ce;highValue=null;highValueChange=new Ce;options=new hc;userChangeStart=new Ce;userChange=new Ce;userChangeEnd=new Ce;manualRefreshSubscription;set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}triggerFocusSubscription;set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(i=>{this.focusPointer(i)})}get range(){return!I.isNullOrUndefined(this.value)&&!I.isNullOrUndefined(this.highValue)}initHasRun=!1;inputModelChangeSubject=new sn;inputModelChangeSubscription=null;outputModelChangeSubject=new sn;outputModelChangeSubscription=null;viewLowValue=null;viewHighValue=null;viewOptions=new hc;handleHalfDimension=0;maxHandlePosition=0;currentTrackingPointer=null;currentFocusPointer=null;firstKeyDown=!1;touchId=null;dragging=new XE;leftOuterSelectionBarElement;rightOuterSelectionBarElement;fullBarElement;selectionBarElement;minHandleElement;maxHandleElement;floorLabelElement;ceilLabelElement;minHandleLabelElement;maxHandleLabelElement;combinedLabelElement;ticksElement;tooltipTemplate;sliderElementVerticalClass=!1;sliderElementAnimateClass=!1;sliderElementWithLegendClass=!1;sliderElementDisabledAttr=null;sliderElementAriaLabel="ngx-slider";barStyle={};minPointerStyle={};maxPointerStyle={};fullBarTransparentClass=!1;selectionBarDraggableClass=!1;ticksUnderValuesClass=!1;get showTicks(){return this.viewOptions.showTicks}intermediateTicks=!1;ticks=[];eventListenerHelper=null;onMoveEventListener=null;onEndEventListener=null;moving=!1;resizeObserver=null;onTouchedCallback=null;onChangeCallback=null;constructor(t,i,r,o,s){this.renderer=t,this.elementRef=i,this.changeDetectionRef=r,this.zone=o,this.allowUnsafeHtmlInSlider=s,this.eventListenerHelper=new JE(this.renderer)}ngOnInit(){this.viewOptions=new hc,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){!I.isNullOrUndefined(t.options)&&JSON.stringify(t.options.previousValue)!==JSON.stringify(t.options.currentValue)&&this.onChangeOptions(),(!I.isNullOrUndefined(t.value)||!I.isNullOrUndefined(t.highValue))&&this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(UE(eI.compare),function jV(e,n){return ui((t,i)=>{let r=0;t.subscribe(Bn(i,o=>e.call(n,o,r++)&&i.next(o)))})}(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(UE(eI.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){oi.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){oi.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){I.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){I.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){I.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){I.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){I.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){I.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===A.Min?this.minHandleElement:t===A.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===A.Min?this.viewLowValue:this.currentTrackingPointer===A.Max?this.viewHighValue:null}modelValueToViewValue(t){return I.isNullOrUndefined(t)?NaN:I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:I.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return I.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const i=this.viewOptions.stepsArray[t];return I.isNullOrUndefined(i)?NaN:i.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const i=this.normaliseModelValues(t),r=!pc.compare(t,i);r&&(this.value=i.value,this.highValue=i.highValue),this.viewLowValue=this.modelValueToViewValue(i.value),this.viewHighValue=this.range?this.modelValueToViewValue(i.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:i.value,highValue:i.highValue,forceChange:r,userEventInitiated:!1})}publishOutputModelChange(t){const i=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),I.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),I.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(i(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{i()})}normaliseModelValues(t){const i=new pc;if(i.value=t.value,i.highValue=t.highValue,!I.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const r=I.findStepIndex(i.value,this.viewOptions.stepsArray);if(i.value=this.viewOptions.stepsArray[r].value,this.range){const o=I.findStepIndex(i.highValue,this.viewOptions.stepsArray);i.highValue=this.viewOptions.stepsArray[o].value}}return i}if(this.viewOptions.enforceStep&&(i.value=this.roundStep(i.value),this.range&&(i.highValue=this.roundStep(i.highValue))),this.viewOptions.enforceRange&&(i.value=ke.clampToRange(i.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(i.highValue=ke.clampToRange(i.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)i.value=i.highValue;else{const r=t.value;i.value=t.highValue,i.highValue=r}return i}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},i=this.normaliseModelValues(t);pc.compare(i,t)||(this.value=i.value,this.highValue=i.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const i=this.getOptionsInfluencingEventBindings(this.viewOptions),r=!I.areArraysEqual(t,i);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(r)}applyOptions(){if(this.viewOptions=new hc,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!I.isNullOrUndefined(this.viewOptions.ticksArray),this.viewOptions.showTicks&&(!I.isNullOrUndefined(this.viewOptions.tickStep)||!I.isNullOrUndefined(this.viewOptions.ticksArray))&&(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),I.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),I.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,i)=>t+" - "+i),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(I.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),I.isNullOrUndefined(this.viewOptions.ceil)||I.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,I.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==A.Min&&t!==A.Max&&(t=A.Min),t===A.Min?this.minHandleElement.focus():this.range&&t===A.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){I.isNullOrUndefined(this.currentFocusPointer)||this.getPointerElement(this.currentFocusPointer).focusIfNeeded()}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabel)?I.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",I.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?I.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,Dn.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,Dn.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){I.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,I.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks&&this.sliderElementWithLegendClass)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=I.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,i=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const r=I.isNullOrUndefined(this.viewOptions.tickValueStep)?I.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let o=!1;const s=t.map(a=>{let l=this.valueToPosition(a);this.viewOptions.vertical&&(l=this.maxHandlePosition-l);const c=i+"("+Math.round(l)+"px)",u=new _H;u.selected=this.isTickSelected(a),u.style={"-webkit-transform":c,"-moz-transform":c,"-o-transform":c,"-ms-transform":c,transform:c},u.selected&&!I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(u.style["background-color"]=this.getSelectionBarColor()),!u.selected&&!I.isNullOrUndefined(this.viewOptions.getTickColor)&&(u.style["background-color"]=this.getTickColor(a)),I.isNullOrUndefined(this.viewOptions.ticksTooltip)||(u.tooltip=this.viewOptions.ticksTooltip(a),u.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!I.isNullOrUndefined(r)&&ke.isModuloWithinPrecisionLimit(a,r,this.viewOptions.precisionLimit)&&(u.value=this.getDisplayValue(a,Dn.TickValue),I.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(u.valueTooltip=this.viewOptions.ticksValuesTooltip(a),u.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let d=null;if(I.isNullOrUndefined(this.viewOptions.stepsArray))I.isNullOrUndefined(this.viewOptions.getLegend)||(d=this.viewOptions.getLegend(a));else{const h=this.viewOptions.stepsArray[a];I.isNullOrUndefined(this.viewOptions.getStepLegend)?I.isNullOrUndefined(h)||(d=h.legend):d=this.viewOptions.getStepLegend(h)}return I.isNullOrUndefined(d)||(u.legend=d,o=!0),u});if(this.sliderElementWithLegendClass!==o&&setTimeout(()=>{this.sliderElementWithLegendClass=o}),I.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s,this.isRefDestroyed()||this.changeDetectionRef.detectChanges();else for(let a=0;a=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const i=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>i&&t>=i&&t<=this.viewLowValue)return!0;if(this.viewLowValue=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,Dn.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,Dn.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,i){t===A.Min?this.updateLowHandle(i):t===A.Max&&this.updateHighHandle(i),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,i){const r=t===A.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,o=i-r/2+this.handleHalfDimension,s=this.fullBarElement.dimension-r;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===A.Min||!this.viewOptions.rightToLeft&&t===A.Max?Math.min(o,s):Math.min(Math.max(o,0),s):o}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,Dn.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(A.Min,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(A.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,Dn.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(A.Max,t)),I.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(A.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,i=!1;const r=this.isLabelBelowFloorLabel(this.minHandleLabelElement),o=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),a=this.isLabelBelowFloorLabel(this.combinedLabelElement),l=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(r?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),o?(i=!0,this.ceilLabelElement.hide()):(i=!1,this.ceilLabelElement.show()),this.range){const c=this.combinedLabelElement.isVisible()?l:s,u=this.combinedLabelElement.isVisible()?a:r;c?this.ceilLabelElement.hide():i||this.ceilLabelElement.show(),u?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const i=t.position,o=this.floorLabelElement.position;return this.viewOptions.rightToLeft?i+t.dimension>=o-2:i<=o+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const i=t.position,o=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?i<=o+this.ceilLabelElement.dimension+2:i+t.dimension>=o-2}updateSelectionBar(){let t=0,i=0;const r=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,o=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)i=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=o;else if(I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))r?(i=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(i=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const s=this.viewOptions.showSelectionBarFromValue,a=this.valueToPosition(s);(this.viewOptions.rightToLeft?this.viewLowValue<=s:this.viewLowValue>s)?(i=this.minHandleElement.position-a,t=a+this.handleHalfDimension):(i=a-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(i),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.leftOuterSelectionBarElement.setPosition(t+i)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+i)),this.rightOuterSelectionBarElement.setPosition(t+i))),I.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!I.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const s=I.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),a=s-t>0&&!r||s-t<=0&&r;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?a?"bottom":"top":a?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(s+i+t+(a?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=s-t+(a?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const s=this.getSelectionBarColor();this.barStyle={backgroundColor:s}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===A.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const i=this.getDisplayValue(this.viewLowValue,Dn.Low),r=this.getDisplayValue(this.viewHighValue,Dn.High),o=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(r,i):this.viewOptions.combineLabels(i,r);this.combinedLabelElement.setValue(o);const s=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(s),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,i){return!I.isNullOrUndefined(this.viewOptions.stepsArray)&&!this.viewOptions.bindIndexForStepsArray&&(t=this.getStepValue(t)),this.viewOptions.translate(t,i)}roundStep(t,i){const r=I.isNullOrUndefined(i)?this.viewOptions.step:i;let o=ke.roundToPrecisionLimit((t-this.viewOptions.floor)/r,this.viewOptions.precisionLimit);return o=Math.round(o)*r,ke.roundToPrecisionLimit(this.viewOptions.floor+o,this.viewOptions.precisionLimit)}valueToPosition(t){let i=I.linearValueToPosition;I.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(i=I.logValueToPosition):i=this.viewOptions.customValueToPosition;let r=i(t=ke.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(r)&&(r=0),this.viewOptions.rightToLeft&&(r=1-r),r*this.maxHandlePosition}positionToValue(t){let i=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(i=1-i);let r=I.linearPositionToValue;I.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(r=I.logPositionToValue):r=this.viewOptions.customPositionToValue;const o=r(i,this.viewOptions.floor,this.viewOptions.ceil);return I.isNullOrUndefined(o)?0:o}getEventXY(t,i){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let r=0;const o=t.touches;if(!I.isNullOrUndefined(i))for(let s=0;so?A.Max:this.viewOptions.rightToLeft?i>this.minHandleElement.position?A.Min:A.Max:ithis.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.on("mousedown",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.on("mousedown",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.on("mousedown",i=>this.onStart(null,i,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",i=>this.onBarStart(null,t,i,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Min,t,i,!0,!0)),this.maxHandleElement.onPassive("touchstart",i=>this.onBarStart(A.Max,t,i,!0,!0))):(this.minHandleElement.onPassive("touchstart",i=>this.onStart(A.Min,i,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",i=>this.onStart(A.Max,i,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",i=>this.onStart(null,i,!0,!0,!0)),this.ticksElement.onPassive("touchstart",i=>this.onStart(null,i,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(A.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(A.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())I.isNullOrUndefined(t)||t.off()}onBarStart(t,i,r,o,s,a,l){i?this.onDragStart(t,r,o,s):this.onStart(t,r,o,s,a,l)}onStart(t,i,r,o,s,a){i.stopPropagation(),!oi.isTouchEvent(i)&&!GE&&i.preventDefault(),this.moving=!1,this.calculateViewDimensions(),I.isNullOrUndefined(t)&&(t=this.getNearestHandle(i)),this.currentTrackingPointer=t;const l=this.getPointerElement(t);if(l.active=!0,this.viewOptions.keyboardSupport&&l.focus(),r){this.unsubscribeOnMove();const c=u=>this.dragging.active?this.onDragMove(u):this.onMove(u);this.onMoveEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",c):this.eventListenerHelper.attachEventListener(document,"mousemove",c)}if(o){this.unsubscribeOnEnd();const c=u=>this.onEnd(u);this.onEndEventListener=oi.isTouchEvent(i)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",c):this.eventListenerHelper.attachEventListener(document,"mouseup",c)}this.userChangeStart.emit(this.getChangeContext()),oi.isTouchEvent(i)&&!I.isNullOrUndefined(i.changedTouches)&&I.isNullOrUndefined(this.touchId)&&(this.touchId=i.changedTouches[0].identifier),s&&this.onMove(i,!0),a&&this.onEnd(i)}onMove(t,i){let r=null;if(oi.isTouchEvent(t)){const c=t.changedTouches;for(let u=0;u=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(o),s=i&&!I.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){oi.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const i=this.getPointerElement(t);i.on("blur",()=>this.onPointerBlur(i)),i.on("keydown",r=>this.onKeyboardEvent(r)),i.on("keyup",()=>this.onKeyUp()),i.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,I.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const i=this.viewOptions.ceil-this.viewOptions.floor;let r=t+this.viewOptions.step,o=t-this.viewOptions.step,s=t+i/10,a=t-i/10;this.viewOptions.reversedControls&&(r=t-this.viewOptions.step,o=t+this.viewOptions.step,s=t-i/10,a=t+i/10);const l={UP:r,DOWN:o,LEFT:o,RIGHT:r,PAGEUP:s,PAGEDOWN:a,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(l.LEFT=r,l.RIGHT=o,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(l.UP=o,l.DOWN=r)),l}onKeyboardEvent(t){const i=this.getCurrentTrackingValue(),r=I.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,l=this.getKeyActions(i)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[r]];if(I.isNullOrUndefined(l)||I.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const c=ke.clampToRange(l,this.viewOptions.floor,this.viewOptions.ceil),u=this.roundStep(c);if(this.viewOptions.draggableRangeOnly){const d=this.viewHighValue-this.viewLowValue;let h,p;this.currentTrackingPointer===A.Min?(h=u,p=u+d,p>this.viewOptions.ceil&&(p=this.viewOptions.ceil,h=p-d)):this.currentTrackingPointer===A.Max&&(p=u,h=u-d,h=this.maxHandlePosition-r;let u,d;if(i<=o){if(0===s.position)return;u=this.getMinValue(i,!0,!1),d=this.getMaxValue(i,!0,!1)}else if(c){if(a.position===this.maxHandlePosition)return;d=this.getMaxValue(i,!0,!0),u=this.getMinValue(i,!0,!0)}else u=this.getMinValue(i,!1,!1),d=this.getMaxValue(i,!1,!1);this.positionTrackingBar(u,d)}positionTrackingBar(t,i){!I.isNullOrUndefined(this.viewOptions.minLimit)&&tthis.viewOptions.maxLimit&&(t=ke.roundToPrecisionLimit((i=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=i,this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(t)),this.updateHandles(A.Max,this.valueToPosition(i))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===A.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===A.Max&&tthis.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(A.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=A.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===A.Max&&tthis.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const r=Math.abs(t-(this.currentTrackingPointer===A.Min?this.viewHighValue:this.viewLowValue));if(!I.isNullOrUndefined(this.viewOptions.minRange)&&rthis.viewOptions.maxRange){if(this.currentTrackingPointer===A.Min)return ke.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===A.Max)return ke.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const i=this.currentTrackingPointer===A.Min?this.viewHighValue-t:t-this.viewLowValue,r=I.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,o=this.viewOptions.maxRange;return io&&(this.currentTrackingPointer===A.Min?(this.viewHighValue=ke.roundToPrecisionLimit(t+o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===A.Max&&(this.viewLowValue=ke.roundToPrecisionLimit(t-o,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(A.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new mH;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}static \u0275fac=function(i){return new(i||e)(S(Xt),S(ut),S(ki),S(pe),S(YE,8))};static \u0275cmp=Wt({type:e,selectors:[["ngx-slider"]],contentQueries:function(i,r,o){if(1&i&&HC(o,JV,5),2&i){let s;bt(s=Et())&&(r.tooltipTemplate=s.first)}},viewQuery:function(i,r){if(1&i&&(Lt(XV,5,si),Lt(eH,5,si),Lt(tH,5,si),Lt(nH,5,si),Lt(iH,5,op),Lt(rH,5,op),Lt(oH,5,eo),Lt(sH,5,eo),Lt(aH,5,eo),Lt(lH,5,eo),Lt(cH,5,eo),Lt(uH,5,si)),2&i){let o;bt(o=Et())&&(r.leftOuterSelectionBarElement=o.first),bt(o=Et())&&(r.rightOuterSelectionBarElement=o.first),bt(o=Et())&&(r.fullBarElement=o.first),bt(o=Et())&&(r.selectionBarElement=o.first),bt(o=Et())&&(r.minHandleElement=o.first),bt(o=Et())&&(r.maxHandleElement=o.first),bt(o=Et())&&(r.floorLabelElement=o.first),bt(o=Et())&&(r.ceilLabelElement=o.first),bt(o=Et())&&(r.minHandleLabelElement=o.first),bt(o=Et())&&(r.maxHandleLabelElement=o.first),bt(o=Et())&&(r.combinedLabelElement=o.first),bt(o=Et())&&(r.ticksElement=o.first)}},hostVars:10,hostBindings:function(i,r){1&i&&q("resize",function(s){return r.onResize(s)},0,Ha),2&i&&(ft("disabled",r.sliderElementDisabledAttr)("aria-label",r.sliderElementAriaLabel),Ln("ngx-slider",r.sliderElementNgxSliderClass)("vertical",r.sliderElementVerticalClass)("animate",r.sliderElementAnimateClass)("with-legend",r.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[Ie([yH]),un],decls:29,vars:13,consts:[["leftOuterSelectionBar",""],["rightOuterSelectionBar",""],["fullBar",""],["selectionBar",""],["minHandle",""],["maxHandle",""],["floorLabel",""],["ceilLabel",""],["minHandleLabel",""],["maxHandleLabel",""],["combinedLabel",""],["ticksElement",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerText",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerText"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(i,r){1&i&&(y(0,"span",12,0),O(2,"span",13),_(),y(3,"span",14,1),O(5,"span",13),_(),y(6,"span",15,2),O(8,"span",13),_(),y(9,"span",16,3),O(11,"span",17),_(),O(12,"span",18,4)(14,"span",19,5)(16,"span",20,6)(18,"span",21,7)(20,"span",22,8)(22,"span",23,9)(24,"span",24,10),y(26,"span",25,11),V(28,gH,5,10,"span",26),_()),2&i&&(f(6),Ln("ngx-slider-transparent",r.fullBarTransparentClass),f(3),Ln("ngx-slider-draggable",r.selectionBarDraggableClass),f(2),m("ngStyle",r.barStyle),f(),m("ngStyle",r.minPointerStyle),f(2),hl("display",r.range?"inherit":"none"),m("ngStyle",r.maxPointerStyle),f(12),Ln("ngx-slider-ticks-values-under",r.ticksUnderValuesClass),m("hidden",!r.showTicks),f(2),m("ngForOf",r.ticks))},dependencies:[Zr,Vi,Hn,$D,si,op,eo,vH],styles:['.ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;user-select:none;touch-action:pan-y} .ngx-slider.with-legend{margin-bottom:40px} .ngx-slider[disabled]{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3} .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2} .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed} .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2} .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block} .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1} .ngx-slider .ngx-slider-draggable{cursor:move} .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:transparent} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d} .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688} .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px} .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px} .ngx-slider .ngx-slider-pointer:after{content:"";width:8px;height:8px;position:absolute;top:12px;left:12px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff} .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff} .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4} .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff} .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px} .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d} .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none} .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px} .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px} .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0} .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;transform:translate(-50%)} .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;transform:translate(-50%);max-width:50px;white-space:normal} .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x} .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0} .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px} .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%} .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0} .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0} .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1} .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px} .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;transform:translateY(-28%)} .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;transform:translateY(-28%);max-width:none;white-space:nowrap} .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px} .ngx-slider *{transition:none} .ngx-slider.animate .ngx-slider-bar-wrapper{transition:all linear .3s} .ngx-slider.animate .ngx-slider-selection{transition:background-color linear .3s} .ngx-slider.animate .ngx-slider-pointer{transition:all linear .3s} .ngx-slider.animate .ngx-slider-pointer:after{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble{transition:all linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity linear .3s} .ngx-slider.animate .ngx-slider-tick{transition:background-color linear .3s}']})}return e})(),CH=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=zn({type:e});static \u0275inj=En({imports:[WD]})}return e})();class nI{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class wH{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.lineCoverageMin=0,this.lineCoverageMax=100,this.branchCoverageMin=0,this.branchCoverageMax=100,this.methodCoverageMin=0,this.methodCoverageMax=100,this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class DH{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class $t{static roundNumber(n){return Math.floor(n*Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,$t.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,i){let r=0,o=-1,s=-1;for(;r{this.historicCoverages.push(new DH(i))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:$t.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n){if(""!==n.filter&&-1===this.name.toLowerCase().indexOf(n.filter.toLowerCase()))return!1;let t=this.coverage,i=t;if(t=Number.isNaN(t)?0:t,i=Number.isNaN(i)?100:i,n.lineCoverageMin>t||n.lineCoverageMaxr||n.branchCoverageMaxs||n.methodCoverageMax=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===n.historyComparisionType){let l=this.branchCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===n.historyComparisionType){let l=this.methodCoverage;if(isNaN(l)||l>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n){if(""!==n.filter&&this.name.toLowerCase().indexOf(n.filter.toLowerCase())>-1)return!0;for(let t=0;t{class e{get nativeWindow(){return function bH(){return window}()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=ne({token:e,factory:e.\u0275fac})}return e})(),EH=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(i,r){1&i&&(E(0,"\xa0"),y(1,"a",0),E(2,"PRO"),_()),2&i&&(f(),kn("title",r.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function IH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.showBranchCoverage,r)||(o.showBranchCoverage=r),G(r)}),q("change",function(){z(t);const r=v();return G(r.showBranchCoverageChange.emit(r.showBranchCoverage))}),_(),E(3),_()()}if(2&e){const t=v();f(2),Xe("ngModel",t.showBranchCoverage),f(),Y(" ",t.translations.branchCoverage,"")}}function MH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v().translations)}function SH(e,n){1&e&&O(0,"pro-button",9),2&e&&m("translations",v(2).translations)}function TH(e,n){1&e&&(y(0,"a",13),O(1,"i",14),_()),2&e&&m("href",v().$implicit.explanationUrl,Zn)}function xH(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),q("change",function(){const r=z(t).$implicit;return G(v(2).toggleMetric(r))}),_(),E(3),_(),E(4,"\xa0"),V(5,TH,2,1,"a",12),_()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("checked",i.isMetricSelected(t))("disabled",!i.methodCoverageAvailable),f(),Y(" ",t.name,""),f(2),m("ngIf",t.explanationUrl)}}function OH(e,n){if(1&e&&(ee(0),O(1,"br")(2,"br"),y(3,"b"),E(4),_(),V(5,SH,1,1,"pro-button",7)(6,xH,6,4,"div",10),te()),2&e){const t=v();f(4),N(t.translations.metrics),f(),m("ngIf",!t.methodCoverageAvailable),f(),m("ngForOf",t.metrics)}}let NH=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Ce,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Ce,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Ce,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Ce,this.visibleMetrics=[],this.visibleMetricsChange=new Ce}isMetricSelected(t){return void 0!==this.visibleMetrics.find(i=>i.name===t.name)}toggleMetric(t){let i=this.visibleMetrics.find(r=>r.name===t.name);i?this.visibleMetrics.splice(this.visibleMetrics.indexOf(i),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModelChange","change","ngModel"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel","disabled"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"change","checked","disabled"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(i,r){1&i&&(y(0,"div",0),q("click",function(){return r.close()}),y(1,"div",1),q("click",function(s){return r.cancelEvent(s)}),y(2,"div",2),q("click",function(){return r.close()}),E(3,"X"),_(),y(4,"b"),E(5),_(),y(6,"div",3)(7,"label")(8,"input",4),ot("ngModelChange",function(s){return xe(r.showLineCoverage,s)||(r.showLineCoverage=s),s}),q("change",function(){return r.showLineCoverageChange.emit(r.showLineCoverage)}),_(),E(9),_()(),V(10,IH,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),ot("ngModelChange",function(s){return xe(r.showMethodCoverage,s)||(r.showMethodCoverage=s),s}),q("change",function(){return r.showMethodCoverageChange.emit(r.showMethodCoverage)}),_(),E(14),_(),V(15,MH,1,1,"pro-button",7),_(),V(16,OH,7,3,"ng-container",8),_()()),2&i&&(f(5),N(r.translations.coverageTypes),f(3),Xe("ngModel",r.showLineCoverage),f(),Y(" ",r.translations.coverage,""),f(),m("ngIf",r.branchCoverageAvailable),f(3),Xe("ngModel",r.showMethodCoverage),m("disabled",!r.methodCoverageAvailable),f(),Y(" ",r.translations.methodCoverage,""),f(),m("ngIf",!r.methodCoverageAvailable),f(),m("ngIf",r.metrics.length>0))},dependencies:[Vi,Hn,Rh,nc,Os,EH],encapsulation:2})}return e})();function AH(e,n){1&e&&O(0,"td",3)}function RH(e,n){1&e&&O(0,"td"),2&e&&Cn("green ",v().greenClass,"")}function LH(e,n){1&e&&O(0,"td"),2&e&&Cn("red ",v().redClass,"")}let rI=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(i,r){1&i&&(y(0,"table",0),V(1,AH,1,0,"td",1)(2,RH,1,3,"td",2)(3,LH,1,3,"td",2),_()),2&i&&(f(),m("ngIf",r.grayVisible),f(),m("ngIf",r.greenVisible),f(),m("ngIf",r.redVisible))},dependencies:[Hn],encapsulation:2,changeDetection:0})}return e})();const kH=["codeelement-row",""],PH=(e,n)=>({"icon-plus":e,"icon-minus":n});function FH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredLines)}}function VH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.uncoveredLines)}}function HH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coverableLines)}}function BH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalLines)}}function jH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.coverageRatioText),f(),N(t.element.coveragePercentage)}}function UH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.coverage)}}function $H(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredBranches)}}function zH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalBranches)}}function GH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.branchCoverageRatioText),f(),N(t.element.branchCoveragePercentage)}}function qH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.branchCoverage)}}function WH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.coveredMethods)}}function ZH(e,n){if(1&e&&(y(0,"th",5),E(1),_()),2&e){const t=v();f(),N(t.element.totalMethods)}}function QH(e,n){if(1&e&&(y(0,"th",6),E(1),_()),2&e){const t=v();m("title",t.element.methodCoverageRatioText),f(),N(t.element.methodCoveragePercentage)}}function YH(e,n){if(1&e&&(y(0,"th",5),O(1,"coverage-bar",7),_()),2&e){const t=v();f(),m("percentage",t.element.methodCoverage)}}function KH(e,n){1&e&&O(0,"th",5)}let JH=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=Wt({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:kH,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(i,r){1&i&&(y(0,"th")(1,"a",0),q("click",function(s){return r.element.toggleCollapse(s)}),O(2,"i",1),E(3),_()(),V(4,FH,2,1,"th",2)(5,VH,2,1,"th",2)(6,HH,2,1,"th",2)(7,BH,2,1,"th",2)(8,jH,2,2,"th",3)(9,UH,2,1,"th",2)(10,$H,2,1,"th",2)(11,zH,2,1,"th",2)(12,GH,2,2,"th",3)(13,qH,2,1,"th",2)(14,WH,2,1,"th",2)(15,ZH,2,1,"th",2)(16,QH,2,2,"th",3)(17,YH,2,1,"th",2)(18,KH,1,0,"th",4)),2&i&&(f(2),m("ngClass",kf(17,PH,r.element.collapsed,!r.element.collapsed)),f(),Y(" ",r.element.name,""),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.lineCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.branchCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngIf",r.methodCoverageAvailable),f(),m("ngForOf",r.visibleMetrics))},dependencies:[Zr,Vi,Hn,rI],encapsulation:2,changeDetection:0})}return e})();const XH=["coverage-history-chart",""];let eB=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let i="";for(let r=0;r({historiccoverageoffset:e});function nB(e,n){if(1&e&&(y(0,"a",5),E(1),_()),2&e){const t=v();m("href",t.clazz.reportPath,Zn),f(),N(t.clazz.name)}}function iB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v();f(),N(t.clazz.name)}}function rB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredLines,t.clazz.currentHistoricCoverage.cl),""),f(),Y(" ",t.clazz.coveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cl," ")}}function oB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredLines," ")}}function sB(e,n){if(1&e&&(y(0,"td",6),V(1,rB,5,6,"ng-container",1)(2,oB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function aB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.currentHistoricCoverage.ucl,t.clazz.uncoveredLines),""),f(),Y(" ",t.clazz.uncoveredLines," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.ucl," ")}}function lB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.uncoveredLines," ")}}function cB(e,n){if(1&e&&(y(0,"td",6),V(1,aB,5,6,"ng-container",1)(2,lB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function uB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.coverableLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.cal)}}function dB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coverableLines," ")}}function fB(e,n){if(1&e&&(y(0,"td",6),V(1,uB,5,3,"ng-container",1)(2,dB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function hB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalLines),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tl)}}function pB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalLines," ")}}function gB(e,n){if(1&e&&(y(0,"td",6),V(1,hB,5,3,"ng-container",1)(2,pB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function mB(e,n){if(1&e&&O(0,"div",11),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.coverage),m("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function vB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(),Y(" ",t.clazz.coveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.lcq,"%")}}function _B(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveragePercentage," ")}}function yB(e,n){if(1&e&&(y(0,"td",9),V(1,mB,1,5,"div",10)(2,vB,5,6,"ng-container",1)(3,_B,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.coverageRatioText),f(),m("ngIf",t.clazz.lineCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function CB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.coverage)}}function wB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(),Y(" ",t.clazz.coveredBranches," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cb," ")}}function DB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredBranches," ")}}function bB(e,n){if(1&e&&(y(0,"td",6),V(1,wB,5,6,"ng-container",1)(2,DB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function EB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tb)}}function IB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalBranches," ")}}function MB(e,n){if(1&e&&(y(0,"td",6),V(1,EB,5,3,"ng-container",1)(2,IB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function SB(e,n){if(1&e&&O(0,"div",14),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.branchCoverage),m("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function TB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(),Y(" ",t.clazz.branchCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.bcq,"%")}}function xB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.branchCoveragePercentage," ")}}function OB(e,n){if(1&e&&(y(0,"td",9),V(1,SB,1,5,"div",13)(2,TB,5,6,"ng-container",1)(3,xB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.branchCoverageRatioText),f(),m("ngIf",t.clazz.branchCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function NB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.branchCoverage)}}function AB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(),Y(" ",t.clazz.coveredMethods," "),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),Y(" ",t.clazz.currentHistoricCoverage.cm," ")}}function RB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.coveredMethods," ")}}function LB(e,n){if(1&e&&(y(0,"td",6),V(1,AB,5,6,"ng-container",1)(2,RB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function kB(e,n){if(1&e&&(ee(0),y(1,"div",8),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(),m("title",t.clazz.currentHistoricCoverage.et),f(),N(t.clazz.currentHistoricCoverage.tm)}}function PB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.totalMethods," ")}}function FB(e,n){if(1&e&&(y(0,"td",6),V(1,kB,5,3,"ng-container",1)(2,PB,2,1,"ng-container",1),_()),2&e){const t=v();f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function VB(e,n){if(1&e&&O(0,"div",16),2&e){const t=v(2);kn("title",t.translations.history+": "+t.translations.methodCoverage),m("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",cs(3,lp,null!==t.clazz.currentHistoricCoverage))}}function HB(e,n){if(1&e&&(ee(0),y(1,"div"),E(2),_(),y(3,"div",7),E(4),_(),te()),2&e){const t=v(2);f(),Cn("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(),Y(" ",t.clazz.methodCoveragePercentage," "),f(),m("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(),Y("",t.clazz.currentHistoricCoverage.mcq,"%")}}function BB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),Y(" ",t.clazz.methodCoveragePercentage," ")}}function jB(e,n){if(1&e&&(y(0,"td",9),V(1,VB,1,5,"div",15)(2,HB,5,6,"ng-container",1)(3,BB,2,1,"ng-container",1),_()),2&e){const t=v();m("title",t.clazz.methodCoverageRatioText),f(),m("ngIf",t.clazz.methodCoverageHistory.length>1),f(),m("ngIf",null!==t.clazz.currentHistoricCoverage),f(),m("ngIf",null===t.clazz.currentHistoricCoverage)}}function UB(e,n){if(1&e&&(y(0,"td",6),O(1,"coverage-bar",12),_()),2&e){const t=v();f(),m("percentage",t.clazz.methodCoverage)}}function $B(e,n){if(1&e&&(y(0,"td",6),E(1),_()),2&e){const t=n.$implicit,i=v();f(),N(i.clazz.metrics[t.abbreviation])}}let zB=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,i){return t>i?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t});function GB(e,n){if(1&e){const t=Ee();y(0,"popup",30),ot("visibleChange",function(r){z(t);const o=v(2);return xe(o.popupVisible,r)||(o.popupVisible=r),G(r)})("showLineCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showLineCoverage,r)||(o.settings.showLineCoverage=r),G(r)})("showBranchCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showBranchCoverage,r)||(o.settings.showBranchCoverage=r),G(r)})("showMethodCoverageChange",function(r){z(t);const o=v(2);return xe(o.settings.showMethodCoverage,r)||(o.settings.showMethodCoverage=r),G(r)})("visibleMetricsChange",function(r){z(t);const o=v(2);return xe(o.settings.visibleMetrics,r)||(o.settings.visibleMetrics=r),G(r)}),_()}if(2&e){const t=v(2);Xe("visible",t.popupVisible),m("translations",t.translations)("branchCoverageAvailable",t.branchCoverageAvailable)("methodCoverageAvailable",t.methodCoverageAvailable)("metrics",t.metrics),Xe("showLineCoverage",t.settings.showLineCoverage)("showBranchCoverage",t.settings.showBranchCoverage)("showMethodCoverage",t.settings.showMethodCoverage)("visibleMetrics",t.settings.visibleMetrics)}}function qB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.noGrouping)}}function WB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byAssembly)}}function ZB(e,n){if(1&e&&(ee(0),E(1),te()),2&e){const t=v(2);f(),N(t.translations.byNamespace+" "+t.settings.grouping)}}function QB(e,n){if(1&e&&(y(0,"option",34),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function YB(e,n){1&e&&O(0,"br")}function KB(e,n){if(1&e&&(y(0,"option",42),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageIncreaseOnly," ")}}function JB(e,n){if(1&e&&(y(0,"option",43),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.branchCoverageDecreaseOnly," ")}}function XB(e,n){if(1&e&&(y(0,"option",44),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageIncreaseOnly," ")}}function ej(e,n){if(1&e&&(y(0,"option",45),E(1),_()),2&e){const t=v(4);f(),Y(" ",t.translations.methodCoverageDecreaseOnly," ")}}function tj(e,n){if(1&e){const t=Ee();y(0,"div")(1,"select",31),ot("ngModelChange",function(r){z(t);const o=v(3);return xe(o.settings.historyComparisionType,r)||(o.settings.historyComparisionType=r),G(r)}),y(2,"option",32),E(3),_(),y(4,"option",35),E(5),_(),y(6,"option",36),E(7),_(),y(8,"option",37),E(9),_(),V(10,KB,2,1,"option",38)(11,JB,2,1,"option",39)(12,XB,2,1,"option",40)(13,ej,2,1,"option",41),_()()}if(2&e){const t=v(3);f(),Xe("ngModel",t.settings.historyComparisionType),f(2),N(t.translations.filter),f(2),N(t.translations.allChanges),f(2),N(t.translations.lineCoverageIncreaseOnly),f(2),N(t.translations.lineCoverageDecreaseOnly),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.branchCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable),f(),m("ngIf",t.methodCoverageAvailable)}}function nj(e,n){if(1&e){const t=Ee();ee(0),y(1,"div"),E(2),y(3,"select",31),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.historyComparisionDate,r)||(o.settings.historyComparisionDate=r),G(r)}),q("ngModelChange",function(){return z(t),G(v(2).updateCurrentHistoricCoverage())}),y(4,"option",32),E(5),_(),V(6,QB,2,2,"option",33),_()(),V(7,YB,1,0,"br",0)(8,tj,14,9,"div",0),te()}if(2&e){const t=v(2);f(2),Y(" ",t.translations.compareHistory," "),f(),Xe("ngModel",t.settings.historyComparisionDate),f(2),N(t.translations.date),f(),m("ngForOf",t.historicCoverageExecutionTimes),f(),m("ngIf",""!==t.settings.historyComparisionDate),f(),m("ngIf",""!==t.settings.historyComparisionDate)}}function ij(e,n){1&e&&O(0,"col",46)}function rj(e,n){1&e&&O(0,"col",47)}function oj(e,n){1&e&&O(0,"col",48)}function sj(e,n){1&e&&O(0,"col",49)}function aj(e,n){1&e&&O(0,"col",50)}function lj(e,n){1&e&&O(0,"col",51)}function cj(e,n){1&e&&O(0,"col",46)}function uj(e,n){1&e&&O(0,"col",49)}function dj(e,n){1&e&&O(0,"col",50)}function fj(e,n){1&e&&O(0,"col",51)}function hj(e,n){1&e&&O(0,"col",46)}function pj(e,n){1&e&&O(0,"col",49)}function gj(e,n){1&e&&O(0,"col",50)}function mj(e,n){1&e&&O(0,"col",51)}function vj(e,n){1&e&&O(0,"col",51)}function _j(e,n){if(1&e&&(y(0,"th",52),E(1),_()),2&e){const t=v(2);f(),N(t.translations.coverage)}}function yj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.branchCoverage)}}function Cj(e,n){if(1&e&&(y(0,"th",53),E(1),_()),2&e){const t=v(2);f(),N(t.translations.methodCoverage)}}function wj(e,n){if(1&e&&(y(0,"th",54),E(1),_()),2&e){const t=v(2);ft("colspan",t.settings.visibleMetrics.length),f(),N(t.translations.metrics)}}function Dj(e,n){if(1&e){const t=Ee();y(0,"td",52)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMin,r)||(o.settings.lineCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.lineCoverageMax,r)||(o.settings.lineCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.lineCoverageMin)("highValue",t.settings.lineCoverageMax),m("options",t.sliderOptions)}}function bj(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMin,r)||(o.settings.branchCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.branchCoverageMax,r)||(o.settings.branchCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.branchCoverageMin)("highValue",t.settings.branchCoverageMax),m("options",t.sliderOptions)}}function Ej(e,n){if(1&e){const t=Ee();y(0,"td",53)(1,"ngx-slider",55),ot("valueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMin,r)||(o.settings.methodCoverageMin=r),G(r)})("highValueChange",function(r){z(t);const o=v(2);return xe(o.settings.methodCoverageMax,r)||(o.settings.methodCoverageMax=r),G(r)}),_()()}if(2&e){const t=v(2);f(),Xe("value",t.settings.methodCoverageMin)("highValue",t.settings.methodCoverageMax),m("options",t.sliderOptions)}}function Ij(e,n){1&e&&O(0,"td",54),2&e&&ft("colspan",v(2).settings.visibleMetrics.length)}function Mj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Sj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("uncovered",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(),N(t.translations.uncovered)}}function Tj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverable",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(),N(t.translations.coverable)}}function xj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Oj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("coverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Nj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function Aj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_branches",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Rj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("branchcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Lj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("covered_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(),N(t.translations.covered)}}function kj(e,n){if(1&e){const t=Ee();y(0,"th",56)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("total_methods",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(),N(t.translations.total)}}function Pj(e,n){if(1&e){const t=Ee();y(0,"th",57)(1,"a",3),q("click",function(r){return z(t),G(v(2).updateSorting("methodcoverage",r))}),O(2,"i",26),E(3),_()()}if(2&e){const t=v(2);f(2),m("ngClass",We(2,Ft,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(),N(t.translations.percentage)}}function Fj(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),q("click",function(r){const o=z(t).$implicit;return G(v(2).updateSorting(o.abbreviation,r))}),O(2,"i",26),E(3),_(),y(4,"a",58),O(5,"i",59),_()()}if(2&e){const t=n.$implicit,i=v(2);f(2),m("ngClass",We(3,Ft,i.settings.sortBy===t.abbreviation&&"asc"===i.settings.sortOrder,i.settings.sortBy===t.abbreviation&&"desc"===i.settings.sortOrder,i.settings.sortBy!==t.abbreviation)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function Vj(e,n){if(1&e&&O(0,"tr",61),2&e){const t=v().$implicit,i=v(2);m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)}}function Hj(e,n){if(1&e&&O(0,"tr",63),2&e){const t=v().$implicit,i=v(3);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Bj(e,n){if(1&e&&(ee(0),V(1,Hj,1,7,"tr",62),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function jj(e,n){if(1&e&&O(0,"tr",66),2&e){const t=v().$implicit,i=v(5);m("clazz",t)("translations",i.translations)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics)("historyComparisionDate",i.settings.historyComparisionDate)}}function Uj(e,n){if(1&e&&(ee(0),V(1,jj,1,7,"tr",65),te()),2&e){const t=n.$implicit,i=v(2).$implicit,r=v(3);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function $j(e,n){if(1&e&&(ee(0),O(1,"tr",64),V(2,Uj,2,1,"ng-container",29),te()),2&e){const t=v().$implicit,i=v(3);f(),m("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",i.settings.showLineCoverage)("branchCoverageAvailable",i.branchCoverageAvailable&&i.settings.showBranchCoverage)("methodCoverageAvailable",i.methodCoverageAvailable&&i.settings.showMethodCoverage)("visibleMetrics",i.settings.visibleMetrics),f(),m("ngForOf",t.classes)}}function zj(e,n){if(1&e&&(ee(0),V(1,$j,3,7,"ng-container",0),te()),2&e){const t=n.$implicit,i=v().$implicit,r=v(2);f(),m("ngIf",!i.collapsed&&t.visible(r.settings))}}function Gj(e,n){if(1&e&&(ee(0),V(1,Vj,1,6,"tr",60)(2,Bj,2,1,"ng-container",29)(3,zj,2,1,"ng-container",29),te()),2&e){const t=n.$implicit,i=v(2);f(),m("ngIf",t.visible(i.settings)),f(),m("ngForOf",t.classes),f(),m("ngForOf",t.subElements)}}function qj(e,n){if(1&e){const t=Ee();y(0,"div"),V(1,GB,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),q("click",function(r){return z(t),G(v().collapseAll(r))}),E(5),_(),E(6," | "),y(7,"a",3),q("click",function(r){return z(t),G(v().expandAll(r))}),E(8),_()(),y(9,"div",4)(10,"span",5),V(11,qB,2,1,"ng-container",0)(12,WB,2,1,"ng-container",0)(13,ZB,2,1,"ng-container",0),_(),O(14,"br"),E(15),y(16,"input",6),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.grouping,r)||(o.settings.grouping=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateCoverageInfo())}),_()(),y(17,"div",4),V(18,nj,9,6,"ng-container",0),_(),y(19,"div",7)(20,"button",8),q("click",function(){return z(t),G(v().popupVisible=!0)}),O(21,"i",9),E(22),_()()(),y(23,"div",10)(24,"table",11)(25,"colgroup"),O(26,"col",12),V(27,ij,1,0,"col",13)(28,rj,1,0,"col",14)(29,oj,1,0,"col",15)(30,sj,1,0,"col",16)(31,aj,1,0,"col",17)(32,lj,1,0,"col",18)(33,cj,1,0,"col",13)(34,uj,1,0,"col",16)(35,dj,1,0,"col",17)(36,fj,1,0,"col",18)(37,hj,1,0,"col",13)(38,pj,1,0,"col",16)(39,gj,1,0,"col",17)(40,mj,1,0,"col",18)(41,vj,1,0,"col",19),_(),y(42,"thead")(43,"tr",20),O(44,"th"),V(45,_j,2,1,"th",21)(46,yj,2,1,"th",22)(47,Cj,2,1,"th",22)(48,wj,2,2,"th",23),_(),y(49,"tr",24)(50,"td")(51,"input",25),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),_()(),V(52,Dj,2,3,"td",21)(53,bj,2,3,"td",22)(54,Ej,2,3,"td",22)(55,Ij,1,1,"td",23),_(),y(56,"tr")(57,"th")(58,"a",3),q("click",function(r){return z(t),G(v().updateSorting("name",r))}),O(59,"i",26),E(60),_()(),V(61,Mj,4,6,"th",27)(62,Sj,4,6,"th",27)(63,Tj,4,6,"th",27)(64,xj,4,6,"th",27)(65,Oj,4,6,"th",28)(66,Nj,4,6,"th",27)(67,Aj,4,6,"th",27)(68,Rj,4,6,"th",28)(69,Lj,4,6,"th",27)(70,kj,4,6,"th",27)(71,Pj,4,6,"th",28)(72,Fj,6,7,"th",29),_()(),y(73,"tbody"),V(74,Gj,4,3,"ng-container",29),_()()()()}if(2&e){const t=v();f(),m("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(3),m("ngIf",-1===t.settings.grouping),f(),m("ngIf",0===t.settings.grouping),f(),m("ngIf",t.settings.grouping>0),f(2),Y(" ",t.translations.grouping," "),f(),m("max",t.settings.groupingMaximum),Xe("ngModel",t.settings.grouping),f(2),m("ngIf",t.historicCoverageExecutionTimes.length>0),f(4),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(5),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(4),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(3),kn("placeholder",t.translations.filter),Xe("ngModel",t.settings.filter),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.settings.visibleMetrics.length>0),f(4),m("ngClass",We(51,Ft,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(),N(t.translations.name),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.settings.showLineCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(),m("ngForOf",t.settings.visibleMetrics),f(2),m("ngForOf",t.codeElements)}}let Wj=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new wH,this.sliderOptions={floor:0,ceil:100,step:1,ticksArray:[0,10,20,30,40,50,60,70,80,90,100],showTicks:!0},this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,$t.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let r=0,o=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(i)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),i=this.window.assemblies,r=[],o=0;if(0===this.settings.grouping)for(let l=0;l{for(let r=0;r{for(let o=0;ot&&(r[o].collapsed=this.settings.collapseStates[t]),t++,i(r[o].subElements)};i(this.codeElements)}static#e=this.\u0275fac=function(i){return new(i||e)(S(ap))};static#t=this.\u0275cmp=Wt({type:e,selectors:[["coverage-info"]],hostBindings:function(i,r){1&i&&q("beforeunload",function(){return r.onBeforeUnload()},0,Ha)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"col-center"],[1,"slider-label"],["type","range","step","1","min","-1",3,"ngModelChange","max","ngModel"],[1,"col-right","right"],["type","button",3,"click"],[1,"icon-cog"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"filterbar"],["type","text",3,"ngModelChange","ngModel","placeholder"],[3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange","visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics"],[3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],[1,"center"],[3,"valueChange","highValueChange","value","highValue","options"],[1,"right"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(i,r){1&i&&V(0,qj,75,55,"div",0),2&i&&m("ngIf",r.codeElements.length>0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Yh,Ns,nc,Os,tI,NH,JH,zB],encapsulation:2})}return e})();class Zj{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}const gc=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-up-down-dir":t}),Qj=(e,n)=>({lightred:e,lightgreen:n});function Yj(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=n.$implicit;m("value",t),f(),N(t)}}function Kj(e,n){if(1&e&&(y(0,"span"),E(1),_()),2&e){const t=v(2);f(),N(t.translations.top)}}function Jj(e,n){1&e&&(y(0,"option",23),E(1,"20"),_())}function Xj(e,n){1&e&&(y(0,"option",24),E(1,"50"),_())}function e3(e,n){1&e&&(y(0,"option",25),E(1,"100"),_())}function t3(e,n){if(1&e&&(y(0,"option",16),E(1),_()),2&e){const t=v(3);m("value",t.totalNumberOfRiskHotspots),f(),N(t.translations.all)}}function n3(e,n){if(1&e){const t=Ee();y(0,"select",17),ot("ngModelChange",function(r){z(t);const o=v(2);return xe(o.settings.numberOfRiskHotspots,r)||(o.settings.numberOfRiskHotspots=r),G(r)}),y(1,"option",18),E(2,"10"),_(),V(3,Jj,2,0,"option",19)(4,Xj,2,0,"option",20)(5,e3,2,0,"option",21)(6,t3,2,2,"option",22),_()}if(2&e){const t=v(2);Xe("ngModel",t.settings.numberOfRiskHotspots),f(3),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>20),f(),m("ngIf",t.totalNumberOfRiskHotspots>50),f(),m("ngIf",t.totalNumberOfRiskHotspots>100)}}function i3(e,n){1&e&&O(0,"col",26)}function r3(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",13),q("click",function(r){const o=z(t).index;return G(v(2).updateSorting(""+o,r))}),O(2,"i",14),E(3),_(),y(4,"a",27),O(5,"i",28),_()()}if(2&e){const t=n.$implicit,i=n.index,r=v(2);f(2),m("ngClass",We(3,gc,r.settings.sortBy===""+i&&"asc"===r.settings.sortOrder,r.settings.sortBy===""+i&&"desc"===r.settings.sortOrder,r.settings.sortBy!==""+i)),f(),N(t.name),f(),kn("href",t.explanationUrl,Zn)}}function o3(e,n){if(1&e&&(y(0,"td",32),E(1),_()),2&e){const t=n.$implicit;m("ngClass",kf(2,Qj,t.exceeded,!t.exceeded)),f(),N(t.value)}}function s3(e,n){if(1&e&&(y(0,"tr")(1,"td"),E(2),_(),y(3,"td")(4,"a",29),E(5),_()(),y(6,"td",30)(7,"a",29),E(8),_()(),V(9,o3,2,5,"td",31),_()),2&e){const t=n.$implicit,i=v(2);f(2),N(t.assembly),f(2),m("href",t.reportPath+i.queryString,Zn),f(),N(t.class),f(),m("title",t.methodName),f(),m("href",t.reportPath+i.queryString+"#file"+t.fileIndex+"_line"+t.line,Zn),f(),Y(" ",t.methodShortName," "),f(),m("ngForOf",t.metrics)}}function a3(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.assembly,r)||(o.settings.assembly=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),y(4,"option",3),E(5),_(),V(6,Yj,2,2,"option",4),_()(),y(7,"div",5),V(8,Kj,2,1,"span",0)(9,n3,7,5,"select",6),_(),O(10,"div",5),y(11,"div",7)(12,"span"),E(13),_(),y(14,"input",8),ot("ngModelChange",function(r){z(t);const o=v();return xe(o.settings.filter,r)||(o.settings.filter=r),G(r)}),q("ngModelChange",function(){return z(t),G(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),O(18,"col",11)(19,"col",11)(20,"col",11),V(21,i3,1,0,"col",12),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",13),q("click",function(r){return z(t),G(v().updateSorting("assembly",r))}),O(26,"i",14),E(27),_()(),y(28,"th")(29,"a",13),q("click",function(r){return z(t),G(v().updateSorting("class",r))}),O(30,"i",14),E(31),_()(),y(32,"th")(33,"a",13),q("click",function(r){return z(t),G(v().updateSorting("method",r))}),O(34,"i",14),E(35),_()(),V(36,r3,6,7,"th",15),_()(),y(37,"tbody"),V(38,s3,10,7,"tr",15),function pw(e,n){const t=J();let i;const r=e+L;t.firstCreatePass?(i=function rR(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks??=[]).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=di(i.type)),a=vt(S);try{const l=_a(!1),c=o();return _a(l),function Of(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,D(),r,c),c}finally{vt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),Xe("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(),m("ngForOf",t.assemblies),f(2),m("ngIf",t.totalNumberOfRiskHotspots>10),f(),m("ngIf",t.totalNumberOfRiskHotspots>10),f(4),Y("",t.translations.filter," "),f(),Xe("ngModel",t.settings.filter),f(7),m("ngForOf",t.riskHotspotMetrics),f(5),m("ngClass",We(20,gc,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(),N(t.translations.assembly),f(3),m("ngClass",We(24,gc,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(),N(t.translations.class),f(3),m("ngClass",We(28,gc,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(),N(t.translations.method),f(),m("ngForOf",t.riskHotspotMetrics),f(2),m("ngForOf",gw(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let l3=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new Zj,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new nI;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Zr,Vi,Hn,ep,np,Is,Ns,nc,Os,qD],encapsulation:2})}return e})(),c3=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=zn({type:e,bootstrap:[l3,Wj]});static#n=this.\u0275inj=En({providers:[ap],imports:[PF,NV,CH]})}return e})();LF().bootstrapModule(c3).catch(e=>console.error(e))}},no=>{no(no.s=197)}]); \ No newline at end of file